diff options
author | Adam Jackson <ajax@redhat.com> | 2008-07-23 13:43:09 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-07-23 13:43:09 -0400 |
commit | 0d785bd635d135fcd67b4c9c88f5c8217e9b9240 (patch) | |
tree | cba029e92d1967358eff0cf238bf5d722a43af99 /os/access.c | |
parent | 5035741fd4cb4918957064a8c9ded9c7c31b4e22 (diff) |
Unifdef hpux.
Diffstat (limited to 'os/access.c')
-rw-r--r-- | os/access.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/os/access.c b/os/access.c index 6179d5bd1..efc9a458b 100644 --- a/os/access.c +++ b/os/access.c @@ -95,12 +95,6 @@ SOFTWARE. # endif #endif -#if defined(hpux) -# include <sys/utsname.h> -# ifdef HAS_IFREQ -# include <net/if.h> -# endif -#else #if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__) # include <sys/utsname.h> #endif @@ -117,7 +111,6 @@ SOFTWARE. #else /*!__GNU__*/ # include <net/if.h> #endif /*__GNU__ */ -#endif /* hpux */ #ifdef SVR4 #include <sys/sockio.h> @@ -350,7 +343,7 @@ ifioctl (int fd, int cmd, char *arg) * for this fd and add them to the selfhosts list. */ -#if !defined(SIOCGIFCONF) || defined (hpux) && ! defined (HAS_IFREQ) +#if !defined(SIOCGIFCONF) void DefineSelf (int fd) { |