diff options
author | Brent Cook <bcook@openbsd.org> | 2014-07-20 13:32:44 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-07-20 16:30:38 -0500 |
commit | 237250e07ac8c1e1417b8b71ed0640ba8d931d7c (patch) | |
tree | 89f5f68c64dc07dbb95a0ff13ea041a2522c55a3 /include/sys | |
parent | edebb7a66e0b107c7b07fa119f4e6b517c442089 (diff) | |
download | portable-237250e07ac8c1e1417b8b71ed0640ba8d931d7c.tar.gz portable-237250e07ac8c1e1417b8b71ed0640ba8d931d7c.tar.bz2 portable-237250e07ac8c1e1417b8b71ed0640ba8d931d7c.zip |
include <_bsd_types.h> on MinGW
ok beck@
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/types.h b/include/sys/types.h index 79b93e0..34c3e03 100644 --- a/include/sys/types.h +++ b/include/sys/types.h | |||
@@ -5,6 +5,10 @@ | |||
5 | 5 | ||
6 | #include <stdint.h> | 6 | #include <stdint.h> |
7 | 7 | ||
8 | #ifdef __MINGW32__ | ||
9 | #include <_bsd_types.h> | ||
10 | #endif | ||
11 | |||
8 | #if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__) | 12 | #if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__) |
9 | # define __bounded__(x, y, z) | 13 | # define __bounded__(x, y, z) |
10 | #endif | 14 | #endif |