aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/ose
diff options
context:
space:
mode:
authorJonas Karlsson <[email protected]>2013-11-22 09:50:34 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:02 +0100
commit2145db903b665622ea885db175c5e606d9f840a4 (patch)
tree624962ca6df626a525edf1fe843f1cf532242725 /erts/emulator/sys/ose
parent3d24208d607501207af371098c1466758844e667 (diff)
downloadotp-2145db903b665622ea885db175c5e606d9f840a4.tar.gz
otp-2145db903b665622ea885db175c5e606d9f840a4.tar.bz2
otp-2145db903b665622ea885db175c5e606d9f840a4.zip
ose: OSE port related cleanup and fixes
Some OSE cross-chains have problems with system includes being used, so for atleast OSE specific parts we use "" instead of <>.
Diffstat (limited to 'erts/emulator/sys/ose')
-rw-r--r--erts/emulator/sys/ose/sys.c28
1 files changed, 9 insertions, 19 deletions
diff --git a/erts/emulator/sys/ose/sys.c b/erts/emulator/sys/ose/sys.c
index ba8851e203..a62d7c150b 100644
--- a/erts/emulator/sys/ose/sys.c
+++ b/erts/emulator/sys/ose/sys.c
@@ -20,29 +20,19 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include "sys/time.h"
+#include "time.h"
+#include "sys/uio.h"
+#include "termios.h"
+#include "ctype.h"
+#include "termios.h"
-#ifdef ISC32
-#define _POSIX_SOURCE
-#define _XOPEN_SOURCE
-#endif
-
-#include <sys/time.h>
-#include <time.h>
-
-#include <sys/uio.h>
-#include <termios.h>
-#include <ctype.h>
-
-#ifdef ISC32
-#include <sys/bsdtypes.h>
-#endif
-
-#include <termios.h>
#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
+#include "fcntl.h"
#endif
+
#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
+#include "sys/ioctl.h"
#endif
#define ERTS_WANT_BREAK_HANDLING