diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 11:26:14 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-05 11:26:14 +0200 |
commit | 5c084f842ae21d861818a33922b5c77cb17ad8e4 (patch) | |
tree | cbe49d97a32acbaf7e8695392685d4020b8f2688 /build/names.c | |
parent | e9df6383be6b95621250c7258909587098d70999 (diff) | |
download | rpm-5c084f842ae21d861818a33922b5c77cb17ad8e4.tar.gz rpm-5c084f842ae21d861818a33922b5c77cb17ad8e4.tar.bz2 rpm-5c084f842ae21d861818a33922b5c77cb17ad8e4.zip |
Unconditionally include <netdb.h> where needed instead of system.h
- there's no fallback for missing netdb.h so there's little point
conditionalizing it
- avoid yet more system.h pollution
Diffstat (limited to 'build/names.c')
-rw-r--r-- | build/names.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/names.c b/build/names.c index 692bbe921..aea9acf67 100644 --- a/build/names.c +++ b/build/names.c @@ -7,6 +7,7 @@ #include "system.h" #include <pwd.h> #include <grp.h> +#include <netdb.h> #include <rpm/rpmbuild.h> #include <rpm/rpmlog.h> #include "debug.h" |