Add some FreeBSD stuff from Stijn Hoop (fritti)

This commit is contained in:
theoddone33
2001-05-03 18:17:23 +00:00
parent c433ffb84f
commit c75fddfba3
3 changed files with 12 additions and 0 deletions

View File

@@ -92,8 +92,12 @@
#include <netdb.h>
#include <unistd.h>
#include <sys/ioctl.h>
#ifndef __FreeBSD__
#include <asm/ioctls.h> // for FIONREAD
#else
#include <sys/filio.h> // for FIONREAD
#endif
#else
#include <windows.h>
#include <winsock.h>
#endif