Add some FreeBSD stuff from Stijn Hoop (fritti)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user