Skip to content

Commit

Permalink
Include pthread.h only for non-WIN32 build (rustls#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha authored Nov 11, 2021
1 parent 97debfa commit 8927058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <arpa/inet.h>
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#endif /* _WIN32 */

#include <sys/types.h>
Expand All @@ -20,7 +21,6 @@
#include <stdlib.h>
#include <errno.h>
#include <errno.h>
#include <pthread.h>
#include <time.h>

#ifdef _WIN32
Expand Down

0 comments on commit 8927058

Please sign in to comment.