summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jthread/jsemaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jthread/jsemaphore.h b/src/jthread/jsemaphore.h
index b62add253..bdce2e4ae 100644
--- a/src/jthread/jsemaphore.h
+++ b/src/jthread/jsemaphore.h
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if defined(WIN32)
#include <windows.h>
+#include <assert.h>
#define MAX_SEMAPHORE_COUNT 1024
#else
#include <pthread.h>