summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/watchgnupg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c
index 4f4d54db2..8ad2a13e3 100644
--- a/tools/watchgnupg.c
+++ b/tools/watchgnupg.c
@@ -34,6 +34,9 @@
#include <arpa/inet.h>
#include <fcntl.h>
#include <time.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
#define PGM "watchgnupg"