summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-23 13:40:10 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-23 13:40:10 +0200
commit2753a5e93441320a89b936a91a88a2576ae0db9a (patch)
treed45512232c6de105f7289cfa9b8ae4b538199b00 /lib
parent68a5dd58034920ac776b8925cd3825f6981798c8 (diff)
downloadrpm-2753a5e93441320a89b936a91a88a2576ae0db9a.tar.gz
rpm-2753a5e93441320a89b936a91a88a2576ae0db9a.tar.bz2
rpm-2753a5e93441320a89b936a91a88a2576ae0db9a.zip
Dont include <pwd.h> from system.h, dont bother checking for it either
- no much point conditionalizing something we can't live without - just three places need, no point polluting include space everywhere
Diffstat (limited to 'lib')
-rw-r--r--lib/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/misc.c b/lib/misc.c
index 55ad6faaa..1cbcaa34b 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -4,6 +4,7 @@
#include "system.h"
+#include <pwd.h>
#include <grp.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmstring.h>