diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-09-04 14:51:57 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-09-04 14:51:57 +0200 |
commit | e036643fbd5c5cba7f652734966570fee7ca99b3 (patch) | |
tree | 94ac9b674ba3eae5543f85d3ec3e6d7b4afaff38 /erts/etc/unix/run_erl.c | |
parent | de618b04eb78702cff7c08f984d6779b8ef06895 (diff) | |
parent | 211d9b31a73e30f44a428a2328b7705136f263d5 (diff) | |
download | otp-e036643fbd5c5cba7f652734966570fee7ca99b3.tar.gz otp-e036643fbd5c5cba7f652734966570fee7ca99b3.tar.bz2 otp-e036643fbd5c5cba7f652734966570fee7ca99b3.zip |
Merge branch 'egil/fix-llvm-cc-warnings/OTP-12138' into maint
* egil/fix-llvm-cc-warnings/OTP-12138:
odbc: Suppress signedness warnings for 'char *'
ic: Suppress unused-value warning
erts: Fix tentative-definition-incomplete-type
erts: Don't redefine '_XOPEN_SOURCE'
Diffstat (limited to 'erts/etc/unix/run_erl.c')
-rw-r--r-- | erts/etc/unix/run_erl.c | 4 |
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> |