summaryrefslogtreecommitdiff
path: root/build/names.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:26:14 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:26:14 +0200
commit5c084f842ae21d861818a33922b5c77cb17ad8e4 (patch)
treecbe49d97a32acbaf7e8695392685d4020b8f2688 /build/names.c
parente9df6383be6b95621250c7258909587098d70999 (diff)
downloadrpm-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.c1
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"