aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/escript.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-07-12 11:37:11 +0200
committerLukas Larsson <[email protected]>2017-07-17 10:01:53 +0200
commiteaad1be9619109483d85549889c2bf3244d6cfe4 (patch)
tree6abdc88da73a0bcae8482469f35c92a6a241eb81 /erts/etc/common/escript.c
parentde5cfabdad61d45a112d95e24ac44e3f51a4bd18 (diff)
downloadotp-eaad1be9619109483d85549889c2bf3244d6cfe4.tar.gz
otp-eaad1be9619109483d85549889c2bf3244d6cfe4.tar.bz2
otp-eaad1be9619109483d85549889c2bf3244d6cfe4.zip
erts: Remove usage of sys.h from etc tools
Diffstat (limited to 'erts/etc/common/escript.c')
-rw-r--r--erts/etc/common/escript.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/erts/etc/common/escript.c b/erts/etc/common/escript.c
index 9cd5dd3fab..8241675200 100644
--- a/erts/etc/common/escript.c
+++ b/erts/etc/common/escript.c
@@ -20,16 +20,8 @@
/*
* Purpose: escript front-end.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "sys.h"
-#ifdef __WIN32__
-#include <winbase.h>
-#endif
-#include <ctype.h>
+#include "etc_common.h"
static int debug = 0; /* Bit flags for debug printouts. */