Skip to content

Commit

Permalink
Merge pull request #7813 from SparkiDev/no_system_headers
Browse files Browse the repository at this point in the history
Don't attempt to include system headers when not required
  • Loading branch information
dgarske authored Aug 5, 2024
2 parents 792f813 + 0e0c363 commit 039853c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wolfssl/wolfcrypt/wc_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
#endif /* WOLFSSL_LINUXKM */

/* THREADING/MUTEX SECTION */
#ifdef USE_WINDOWS_API
#if defined(SINGLE_THREADED) && defined(NO_FILESYSTEM)
/* No system headers required for build. */
#elif defined(USE_WINDOWS_API)
#if defined(WOLFSSL_PTHREADS)
#include <pthread.h>
#endif
Expand Down

0 comments on commit 039853c

Please sign in to comment.