summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index a6b914bc1..6bcb07881 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -16,6 +16,7 @@ details. */
#ifdef _MT_SAFE
#include "winsup.h"
+#include <limits.h>
#include <errno.h>
#include <assert.h>
#include <stdlib.h>