Merge pull request #7813 from SparkiDev/no_system_headers

Don't attempt to include system headers when not required
This commit is contained in:
David Garske
2024-08-05 11:32:55 -07:00
committed by GitHub

View File

@ -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