summaryrefslogtreecommitdiff
path: root/gcc/gthr-win32.h
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-22 21:29:53 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-22 21:29:53 +0000
commit81189303a42def84004f99ae4699578253df9215 (patch)
treed7e29aa0761006b864e1ec0af76e0817d892170e /gcc/gthr-win32.h
parentd92e220684d37edb891ebc07ef84565151af85aa (diff)
downloadgcc-81189303a42def84004f99ae4699578253df9215.tar.gz
* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39187 138bc75d-0d04-0410-961f-82ee72b054a4
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