More portability changes and cleanups. 86Box now also compiles (and runs) on FreeBSD 10.4-RELEASE.

This commit is contained in:
waltje
2017-10-27 04:54:45 -04:00
parent 0bbcac68d2
commit 77d695f430
11 changed files with 40 additions and 9 deletions

View File

@@ -60,6 +60,10 @@ typedef unsigned long ioctlsockopt_t;
# define final_udp slirp_final_udp
#else
# include <inttypes.h>
# define HAVE_STDINT_H
# define HAVE_STDLIB_H
# define HAVE_STRING_H
# define HAVE_UNISTD_H
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;