/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

  1. /*
  2. * Sockets are not standard.
  3. * So hide uglyness in include file.
  4. */
  5. /* was: defined(SYS_CONVEXOS9) */
  6. #if defined(HAVE__SYS_SYNC_QUEUE_H) && defined(HAVE__SYS_SYNC_SEMA_H)
  7. # include "/sys/sync/queue.h"
  8. # include "/sys/sync/sema.h"
  9. #endif
  10. /* was: (defined(SYS_SOLARIS) && !defined(bsd)) || defined(SYS_SUNOS4) */
  11. /* was: defined(SYS_UNIXWARE1) */
  12. #ifdef HAVE_SYS_SOCKIO_H
  13. # include <sys/sockio.h>
  14. #endif
  15. /* was: #if defined(SYS_PTX) || defined(SYS_SINIXM) */
  16. #ifdef HAVE_SYS_STREAM_H
  17. # include <sys/stream.h>
  18. #endif
  19. #ifdef HAVE_SYS_STROPTS_H
  20. # include <sys/stropts.h>
  21. #endif
  22. #ifdef HAVE_NET_IF_H
  23. # include <net/if.h>
  24. #endif /* HAVE_NET_IF_H */