Include sys/time.h in daemon.c.
authorJason Riedy <ejr@cs.berkeley.edu>
Tue, 23 Aug 2005 20:34:44 +0000 (13:34 -0700)
committerJason Riedy <ejr@cs.berkeley.edu>
Wed, 24 Aug 2005 03:41:12 +0000 (20:41 -0700)
Some systems and feature levels want sys/time.h for fd_set
functionality.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
daemon.c

index 932d908bad3587b8ae7868112d587eaca775a303..fb3f25c48665596f41ebcee66037bdd1be2dd30a 100644 (file)
--- 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>