compiler.h: include <sys/types.h>
commit4c9132e3a0131dd5d06fbe4a739ce032271f6d44
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 19 Oct 2016 20:13:38 +0000 (19 13:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 19 Oct 2016 20:13:38 +0000 (19 13:13 -0700)
treecadd74bb61b43a253c9f234863ff00f981e6d225
parent1fe546cf35db81bc799772e7cfad297477de2bd4
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>
config/msvc.h
configure.ac
include/compiler.h
nasmlib/file.c