portability fix for FIONREAD on Solaris
This commit is contained in:
parent
ba6b3e2923
commit
6d71b73063
|
|
@ -19,6 +19,13 @@
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* FIONREAD on Solaris is defined elsewhere
|
||||||
|
*/
|
||||||
|
#ifdef __sun
|
||||||
|
#include <sys/filio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up namespace
|
* Set up namespace
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue