소스 검색

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>