6 * POSIX says use <fnct.h> to get O_* symbols and
7 * SEEK_SET symbol form <unistd.h>.
13 #ifdef HAVE_SYS_TYPES_H
14 # include <sys/types.h>
20 #ifdef HAVE_SYS_FILE_H
21 # include <sys/file.h>
26 #if !defined(SEEK_SET) && defined(L_SET)
27 # define SEEK_SET L_SET
32 # include "win32_io.h"
36 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need
37 * to (and can). This is here initially for QNX, but may help for
42 # define FNDELAY O_NONBLOCK
48 # define FASYNC O_ASYNC