aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/erlc.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/erlc.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/erlc.c')
-rw-r--r--erts/etc/common/erlc.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/erts/etc/common/erlc.c b/erts/etc/common/erlc.c
index cbbd2a37cd..8cfd98bcc4 100644
--- a/erts/etc/common/erlc.c
+++ b/erts/etc/common/erlc.c
@@ -20,19 +20,7 @@
/*
* Purpose: Common compiler front-end.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "sys.h"
-#ifdef __WIN32__
-#include <winbase.h>
-/* FIXE ME config_win32.h? */
-#define HAVE_STRERROR 1
-#define snprintf _snprintf
-#endif
-
-#include <ctype.h>
+#include "etc_common.h"
#define NO 0
#define YES 1