diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2001-01-22 21:29:53 +0000 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2001-01-22 16:29:53 -0500 |
commit | 5dab7f92ce35e0e3591e6dda28977da4949411ac (patch) | |
tree | d7e29aa0761006b864e1ec0af76e0817d892170e /gcc/gthr-win32.h | |
parent | 586964a732aabb2c48a76a73f8994a9adb78d811 (diff) | |
download | gcc-5dab7f92ce35e0e3591e6dda28977da4949411ac.tar.gz |
gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...
* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32.
From-SVN: r39187
Diffstat (limited to 'gcc/gthr-win32.h')
-rw-r--r-- | gcc/gthr-win32.h | 4 |
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 |