summaryrefslogtreecommitdiff
path: root/gcc/gthr-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gthr-win32.h')
-rw-r--r--gcc/gthr-win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gthr-win32.h b/gcc/gthr-win32.h
index dbe5e5b4f34..7b991385c81 100644
--- a/gcc/gthr-win32.h
+++ b/gcc/gthr-win32.h
@@ -65,6 +65,10 @@ Boston, MA 02111-1307, USA. */
#define __GTHREADS 1
#include <windows.h>
+#include <errno.h>
+#ifdef __MINGW32__
+#include <_mingw.h>
+#endif
#ifdef _LIBOBJC