summaryrefslogtreecommitdiff
path: root/lib/common/WaitForEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/WaitForEvent.h')
-rw-r--r--lib/common/WaitForEvent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/common/WaitForEvent.h b/lib/common/WaitForEvent.h
index 46f152c5..52a073e9 100644
--- a/lib/common/WaitForEvent.h
+++ b/lib/common/WaitForEvent.h
@@ -15,7 +15,9 @@
#include <sys/time.h>
#else
#include <vector>
- #include <poll.h>
+ #ifndef WIN32
+ #include <poll.h>
+ #endif
#endif
#include "CommonException.h"