4 * POSIX says use <fnct.h> to get O_* symbols and
5 * SEEK_SET symbol form <unistd.h>.
11 #ifdef HAVE_SYS_TYPES_H
12 # include <sys/types.h>
18 #ifdef HAVE_SYS_FILE_H
19 # include <sys/file.h>
24 #if !defined(SEEK_SET) && defined(L_SET)
25 # define SEEK_SET L_SET
30 # include "win32_io.h"
34 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need
35 * to (and can). This is here initially for QNX, but may help for
40 # define FNDELAY O_NONBLOCK
46 # define FASYNC O_ASYNC