diff options
Diffstat (limited to 'src/base/pollevent.cc')
-rw-r--r-- | src/base/pollevent.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/pollevent.cc b/src/base/pollevent.cc index 2743cd95d..fd5b09d28 100644 --- a/src/base/pollevent.cc +++ b/src/base/pollevent.cc @@ -30,6 +30,9 @@ #include <sys/ioctl.h> #include <sys/types.h> +#if defined(__sun__) +#include <sys/file.h> +#endif #include <fcntl.h> #include <signal.h> |