summaryrefslogtreecommitdiff
path: root/erts/emulator/test/port_bif_SUITE_data/port_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/port_bif_SUITE_data/port_test.c')
-rw-r--r--erts/emulator/test/port_bif_SUITE_data/port_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/test/port_bif_SUITE_data/port_test.c b/erts/emulator/test/port_bif_SUITE_data/port_test.c
index 923ab99ccc..ef6d12dc93 100644
--- a/erts/emulator/test/port_bif_SUITE_data/port_test.c
+++ b/erts/emulator/test/port_bif_SUITE_data/port_test.c
@@ -10,6 +10,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <ctype.h>
#ifndef __WIN32__
#include <unistd.h>
@@ -32,7 +33,7 @@
exit(1); \
}
-#define MAIN(argc, argv) main(argc, argv)
+#define MAIN(argc, argv) int main(argc, argv)
extern int errno;