aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix/run_erl.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-09-04 14:52:23 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-09-04 14:52:23 +0200
commitd65378620c73fb203ada59caa5fadee5bc660fe0 (patch)
treea854e3271bf706bf62fc452873bca32faa88a0d4 /erts/etc/unix/run_erl.c
parent0e3d82ec72c0f439812d154e92d591b981986037 (diff)
parente036643fbd5c5cba7f652734966570fee7ca99b3 (diff)
downloadotp-d65378620c73fb203ada59caa5fadee5bc660fe0.tar.gz
otp-d65378620c73fb203ada59caa5fadee5bc660fe0.tar.bz2
otp-d65378620c73fb203ada59caa5fadee5bc660fe0.zip
Merge branch 'maint'
Diffstat (limited to 'erts/etc/unix/run_erl.c')
-rw-r--r--erts/etc/unix/run_erl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/etc/unix/run_erl.c b/erts/etc/unix/run_erl.c
index a6fc4c2bf5..4b123b8911 100644
--- a/erts/etc/unix/run_erl.c
+++ b/erts/etc/unix/run_erl.c
@@ -40,9 +40,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+
#ifdef HAVE_WORKING_POSIX_OPENPT
+#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
+#endif
+
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>