diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-19 13:13:38 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-10-19 13:13:38 -0700 |
commit | 4c9132e3a0131dd5d06fbe4a739ce032271f6d44 (patch) | |
tree | cadd74bb61b43a253c9f234863ff00f981e6d225 /config | |
parent | 1fe546cf35db81bc799772e7cfad297477de2bd4 (diff) | |
download | nasm-4c9132e3a0131dd5d06fbe4a739ce032271f6d44.tar.gz |
compiler.h: include <sys/types.h>
Apparently, at least on some OS/2 compilers, <sys/types.h> needs to be
included for off_t to be defined. This seems like a generically good
idea to include this header whenever it is available.
Remove reference to <types.h>. This was supposedly for MSVC, but
there is no actual evidence that it is useful beyond <sys/types.h>.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/msvc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/msvc.h b/config/msvc.h index 756d9570..464d06e1 100644 --- a/config/msvc.h +++ b/config/msvc.h @@ -77,9 +77,6 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 -/* Define to 1 if you have the <types.h> header file. */ -#define HAVE_TYPES_H 1 - /* Define to 1 if you have the `access' function. */ #define HAVE_ACCESS 1 #if _MSC_VER < 1400 |