diff options
Diffstat (limited to 'rpmio/rpmio.c')
-rw-r--r-- | rpmio/rpmio.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index 23e95023e..902a88915 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -9,18 +9,6 @@ # include <machine/types.h> #endif -#if HAVE_SYS_SOCKET_H -# include <sys/socket.h> -#endif - -#include <netinet/in.h> -#include <arpa/inet.h> /* XXX for inet_aton and HP-UX */ - -#if HAVE_NETINET_IN_SYSTM_H -# include <sys/types.h> -# include <netinet/in_systm.h> -#endif - #if HAVE_LIBIO_H && defined(_G_IO_IO_FILE_VERSION) #define _USE_LIBIO 1 #endif @@ -37,23 +25,6 @@ extern int h_errno; #define IPPORT_HTTP 80 #endif -#if !defined(HAVE_INET_ATON) -static int inet_aton(const char *cp, struct in_addr *inp) -{ - long addr; - - addr = inet_addr(cp); - if (addr == ((long) -1)) return 0; - - memcpy(inp, &addr, sizeof(addr)); - return 1; -} -#endif - -#if defined(USE_ALT_DNS) && USE_ALT_DNS -#include "dns.h" -#endif - #include <rpmio_internal.h> #undef fdFileno #undef fdOpen |