Include <sys/times.h> in a few more files. Include <unistd.h> and
authorian <ian>
Sat, 8 May 1999 16:15:29 +0000 (16:15 +0000)
committerian <ian>
Sat, 8 May 1999 16:15:29 +0000 (16:15 +0000)
<sys/time.h> for select.

changelog
src/event.c
src/general.c
src/types.c

index 386c190..a03e4c7 100644 (file)
--- a/changelog
+++ b/changelog
@@ -5,6 +5,8 @@ adns (0.2) experimental; urgency=low
   * Don't use GCC union assignment feature (.rrs=0 => .rrs.untyped=0).
   * Explictly cast things to [const] struct sockaddr* in syscall args.
   * Check whether we need -lsocket.
+  * Include <sys/times.h> in a few more files.
+  * Include <unistd.h> and <sys/time.h> for select.
 
  --
 
index 582e95c..154a9b8 100644 (file)
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <unistd.h>
 
+#include <sys/types.h>
+#include <sys/time.h>
 #include <netdb.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
index 6d4a1b8..079f8b7 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
index 042675a..c1d613a 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>