]> Zhao Yanbai Git Server - minix.git/commitdiff
select-test-set compile fixes.
authorBen Gras <ben@minix3.org>
Sun, 19 Jun 2005 23:13:57 +0000 (23:13 +0000)
committerBen Gras <ben@minix3.org>
Sun, 19 Jun 2005 23:13:57 +0000 (23:13 +0000)
test/select/test01.c
test/select/test03.c

index 16f636a2a282dd101ad7ba5233e3c9d8898b733a..871baaf01ae28befeb10651379ef7da676b4178f 100644 (file)
 
 #include <sys/types.h>
 #include <sys/select.h>
+#include <sys/time.h>
 #include <time.h>
 #include <stdio.h>
 #include <errno.h>
+#include <string.h>
 
 #define SECONDS 3
 #define USECONDS 3000000L
index 98838ad3bbf3a17873703c02bad93cb64b4f9ffb..3b98b02006db50ae6493c540c2504a33710a3131 100644 (file)
@@ -18,6 +18,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
+#include <sys/time.h>
 
 void dump_fdset(fd_set *set) {
        int i;