]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed annoying compile warnings.
authorJorrit Herder <jnherder@minix3.org>
Fri, 8 Jul 2005 12:25:13 +0000 (12:25 +0000)
committerJorrit Herder <jnherder@minix3.org>
Fri, 8 Jul 2005 12:25:13 +0000 (12:25 +0000)
lib/socket/extra.c
lib/socket/socket.c

index f76d261a1b8b34ec23d13d2856c3e89db45433f3..c51fdec091dde766e5381e732c291c493b765b59 100644 (file)
@@ -3,8 +3,10 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <fcntl.h>
 #include <sys/types.h>
+#include <unistd.h>
 #include <net/gen/socket.h>
 #include <net/gen/emu.h>
 #include <net/gen/tcp.h>
index ca3684fbdea9d981c66aa8388207d20184fc223e..a064380c17f4e14bbf7670ed77fda38d1d925819 100644 (file)
@@ -2,6 +2,7 @@
 /* bsd-socket(2)-lookalike */
 
 #include <errno.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
 #include <sys/types.h>