summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jason Riedy <ejr@cs.berkeley.edu>2005-08-23 13:34:44 -0700
committerLibravatar Jason Riedy <ejr@cs.berkeley.edu>2005-08-23 20:41:12 -0700
commit3cd6ecda4a02e943934885910feeba957b730123 (patch)
tree05fd79e7aea4a4a9adf97bdbfae6271d117a3389
parentFix ?: statements. (diff)
downloadtgif-3cd6ecda4a02e943934885910feeba957b730123.tar.xz
Include sys/time.h in daemon.c.
Some systems and feature levels want sys/time.h for fd_set functionality. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
-rw-r--r--daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 932d908bad..fb3f25c486 100644
--- a/daemon.c
+++ b/daemon.c
@@ -3,6 +3,7 @@
#include <signal.h>
#include <sys/wait.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <netdb.h>
#include <netinet/in.h>