Bläddra i källkod

Fix random-test-* with Microsoft compiler (closes #65)

Stéphane Raimbault 12 år sedan
förälder
incheckning
3ff4791701
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 2 0
      tests/random-test-client.c
  2. 2 0
      tests/random-test-server.c

+ 2 - 0
tests/random-test-client.c

@@ -16,7 +16,9 @@
  */
 
 #include <stdio.h>
+#ifndef _MSC_VER
 #include <unistd.h>
+#endif
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>

+ 2 - 0
tests/random-test-server.c

@@ -16,7 +16,9 @@
  */
 
 #include <stdio.h>
+#ifndef _MSC_VER
 #include <unistd.h>
+#endif
 #include <stdlib.h>
 #include <errno.h>