summaryrefslogtreecommitdiff
path: root/tools/syndaemon.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-16 12:57:15 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2011-01-17 07:25:49 +1000
commit0e27ce3ad7493ec28bde421a61c8a6e8d147efb6 (patch)
tree61aff967199bdfddfbbe963f50b885b3d32a1cf9 /tools/syndaemon.c
parent5c98205e025adaf2aa4d99b71cb4581963076a04 (diff)
syndaemon.c: Add #include <string.h>
Solaris FD_ZERO is defined using memset, but <sys/select.h> doesn't include <string.h> itself, leading to compiler warning: "syndaemon.c", line 404: warning: implicit function declaration: memset Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/syndaemon.c')
-rw-r--r--tools/syndaemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syndaemon.c b/tools/syndaemon.c
index 0309fb5..944c34e 100644
--- a/tools/syndaemon.c
+++ b/tools/syndaemon.c
@@ -38,6 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>