aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/pthread.h')
-rw-r--r--system/include/libc/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/pthread.h b/system/include/libc/pthread.h
index 2e95121b..8f845937 100644
--- a/system/include/libc/pthread.h
+++ b/system/include/libc/pthread.h
@@ -27,7 +27,7 @@ extern "C" {
#include <unistd.h>
-#if defined(_POSIX_THREADS)
+#if defined(_POSIX_THREADS) || defined(EMSCRIPTEN)
#include <sys/types.h>
#include <time.h>