From 8e51e9f1429efc498f923bce8b25b20f47d7c075 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 21 Dec 1993 18:36:48 +0000 Subject: xntpd 3.3b from UDel --- usr.sbin/xntpd/include/ntp_io.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 usr.sbin/xntpd/include/ntp_io.h (limited to 'usr.sbin/xntpd/include/ntp_io.h') diff --git a/usr.sbin/xntpd/include/ntp_io.h b/usr.sbin/xntpd/include/ntp_io.h new file mode 100644 index 0000000..c3b79be --- /dev/null +++ b/usr.sbin/xntpd/include/ntp_io.h @@ -0,0 +1,24 @@ +/* + * POSIX says use to get O_* symbols and + * SEEK_SET symbol form . + */ +#if defined(NTP_POSIX_SOURCE) +/* + * POSIX way + */ +#include +#if defined(HAVE_SIGNALED_IO) && (defined(SYS_AUX2) || defined(SYS_AUX3) || defined(SYS_PTX)) +#include +#endif +#include +#include +#else +/* + * BSD way + */ +#include +#include +#if !defined(SEEK_SET) && defined(L_SET) +#define SEEK_SET L_SET +#endif +#endif -- cgit v1.1