source: trunk/third/xntp/include/ntp_io.h @ 10832

Revision 10832, 480 bytes checked in by brlewis, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10831, which included commits to RCS files with non-trunk default branches.
RevLine 
[10831]1/*
2 * POSIX says use <fnct.h> to get O_* symbols and
3 * SEEK_SET symbol form <unistd.h>.
4 */
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#ifdef HAVE_SYS_TYPES_H
10# include <sys/types.h>
11#endif
12#ifdef HAVE_UNISTD_H
13# include <unistd.h>
14#endif
15#include <stdio.h>
16#ifdef HAVE_SYS_FILE_H
17# include <sys/file.h>
18#endif
19#ifdef HAVE_FCNTL_H
20# include <fcntl.h>
21#endif
22#if !defined(SEEK_SET) && defined(L_SET)
23# define SEEK_SET L_SET
24#endif
25#ifdef SYS_WINNT
26# include <io.h>
27#endif
Note: See TracBrowser for help on using the repository browser.