Skip to content

Commit 8927058

Browse files
authored
Include pthread.h only for non-WIN32 build (#210)
1 parent 97debfa commit 8927058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/server.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <arpa/inet.h>
1313
#include <unistd.h>
1414
#include <fcntl.h>
15+
#include <pthread.h>
1516
#endif /* _WIN32 */
1617

1718
#include <sys/types.h>
@@ -20,7 +21,6 @@
2021
#include <stdlib.h>
2122
#include <errno.h>
2223
#include <errno.h>
23-
#include <pthread.h>
2424
#include <time.h>
2525

2626
#ifdef _WIN32

0 commit comments

Comments
 (0)