1
0
Fork 0
flightgear/src/NetworkOLK/fgd.h
curt 004055a3be Fix include order for FreeBSD. Actually this is the published order for
Linux, but linux seems to be more tolerant of the includes being out of order.
2001-07-16 23:12:39 +00:00

23 lines
499 B
C

#ifndef _MSC_VER
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include <fcntl.h>
#include <sys/utsname.h>
/* this seems to be missing for glibc-2.0.x */
/* libc5 & glibc-2.1 do have them */
#ifndef MSG_PEEK
#define MSG_PEEK 0x02 /* Peek at incoming messages. */
#endif
#ifndef MSG_WAITALL
#define MSG_WAITALL 0x100 /* Wait for a full request. */
#endif
#endif /* !_MSC_VER */