chiark / gitweb /
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 386c190931644975ace5a846406f6b83bb37b433..a03e4c7e5d667d165ee3a80c6bf62edf367c2cd1 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 582e95c54f893bcde8e1d843f6889b6d1e6e304c..154a9b8f5c2dd3c62849b1e06ce8a16b4ecc7936 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 6d4a1b841ce45d240af3e223ed10d04ecc203f1f..079f8b7cd30efc77b9d66f105e3f6007e1374c69 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 042675afe949b70b69f928a48dad558f1bb000f0..c1d613af64008762732eae80fa938e980ec3ded3 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>