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 /rpmio | |
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 'rpmio')
-rw-r--r-- | rpmio/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmio/url.c b/rpmio/url.c index f20be1a83..cd73e9a36 100644 --- a/rpmio/url.c +++ b/rpmio/url.c @@ -6,6 +6,7 @@ #include <assert.h> #include <netinet/in.h> +#include <netdb.h> #include <rpm/rpmmacro.h> #include <rpm/rpmlog.h> |