summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntp_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/ntp_if.h')
-rw-r--r--contrib/ntp/include/ntp_if.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/ntp/include/ntp_if.h b/contrib/ntp/include/ntp_if.h
index 91362d8..3af5865 100644
--- a/contrib/ntp/include/ntp_if.h
+++ b/contrib/ntp/include/ntp_if.h
@@ -22,27 +22,6 @@
# include <sys/stropts.h>
#endif
-/* Was: #if defined(SYS_SVR4) */
-#if defined(USE_STREAMS_DEVICE_FOR_IF_CONFIG)
-# include <netinet/ip.h>
-# undef SIOCGIFCONF
-# undef SIOCGIFFLAGS
-# undef SIOCGIFADDR
-# undef SIOCGIFBRDADDR
-# undef SIOCGIFNETMASK
-# define SIOCGIFCONF IPIOC_GETIFCONF
-# define SIOCGIFFLAGS IPIOC_GETIFFLAGS
-# define SIOCGIFADDR IPIOC_GETIFADDR
-# define SIOCGIFBRDADDR IPIOC_GETIFBRDADDR
-# define SIOCGIFNETMASK IPIOC_GETIFNETMASK
-#if 0 /* We don't need this now that sys/sockio.h is handled above */
-# else /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
-# include <sys/sockio.h>
-#endif
-# endif /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
-/* was #endif SYS_SVR4 */
-
-
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif /* HAVE_NET_IF_H */
OpenPOWER on IntegriCloud