Commit 3ff479170160d9e078a2dd3036a93db74961f5eb
1 parent
47a72f1d
Fix random-test-* with Microsoft compiler (closes #65)
Showing
2 changed files
with
4 additions
and
0 deletions
tests/random-test-client.c
| @@ -16,7 +16,9 @@ | @@ -16,7 +16,9 @@ | ||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <stdio.h> | 18 | #include <stdio.h> |
| 19 | +#ifndef _MSC_VER | ||
| 19 | #include <unistd.h> | 20 | #include <unistd.h> |
| 21 | +#endif | ||
| 20 | #include <string.h> | 22 | #include <string.h> |
| 21 | #include <stdlib.h> | 23 | #include <stdlib.h> |
| 22 | #include <errno.h> | 24 | #include <errno.h> |
tests/random-test-server.c