Преглед на файлове

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

Stéphane Raimbault преди 12 години
родител
ревизия
3ff4791701
променени са 2 файла, в които са добавени 4 реда и са изтрити 0 реда
  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>