/contrib/ntp/include/ntp_if.h
https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 27 lines · 16 code · 3 blank · 8 comment · 1 complexity · 87895226cac47af6e6c9a18a1dd1ec0b MD5 · raw file
- /*
- * Sockets are not standard.
- * So hide uglyness in include file.
- */
- /* was: defined(SYS_CONVEXOS9) */
- #if defined(HAVE__SYS_SYNC_QUEUE_H) && defined(HAVE__SYS_SYNC_SEMA_H)
- # include "/sys/sync/queue.h"
- # include "/sys/sync/sema.h"
- #endif
- /* was: (defined(SYS_SOLARIS) && !defined(bsd)) || defined(SYS_SUNOS4) */
- /* was: defined(SYS_UNIXWARE1) */
- #ifdef HAVE_SYS_SOCKIO_H
- # include <sys/sockio.h>
- #endif
- /* was: #if defined(SYS_PTX) || defined(SYS_SINIXM) */
- #ifdef HAVE_SYS_STREAM_H
- # include <sys/stream.h>
- #endif
- #ifdef HAVE_SYS_STROPTS_H
- # include <sys/stropts.h>
- #endif
- #ifdef HAVE_NET_IF_H
- # include <net/if.h>
- #endif /* HAVE_NET_IF_H */