summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/x11vnc.h')
-rw-r--r--x11vnc/x11vnc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h
index c8431f7..dcbc3a3 100644
--- a/x11vnc/x11vnc.h
+++ b/x11vnc/x11vnc.h
@@ -19,6 +19,10 @@
#include <unistd.h>
#include <signal.h>
#include <sys/utsname.h>
+#ifdef __hpux
+/* to avoid select() compiler warning */
+#include <sys/time.h>
+#endif
#include <time.h>
#include <errno.h>