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 <[email protected]>
---
 tools/syndaemon.c |    1 +
 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>
-- 
1.7.3.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to