summaryrefslogtreecommitdiff
path: root/src/base/pollevent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/pollevent.cc')
-rw-r--r--src/base/pollevent.cc3
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>