aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-04-27 13:44:23 +0200
committerAnthony Ramine <[email protected]>2013-04-30 10:11:16 +0200
commit18fec52206362ca0ecb0f742b0ef36619094d08f (patch)
treee91c3f1cc8ca6f8f32c8fd67853faeb8d7959aaa /erts/emulator
parent096618c8204cac78533a0020510786977204cdf7 (diff)
downloadotp-18fec52206362ca0ecb0f742b0ef36619094d08f.tar.gz
otp-18fec52206362ca0ecb0f742b0ef36619094d08f.tar.bz2
otp-18fec52206362ca0ecb0f742b0ef36619094d08f.zip
Properly declare _sigaction on Darwin
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/hipe/hipe_x86_signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_x86_signal.c b/erts/emulator/hipe/hipe_x86_signal.c
index 64c0e0da3e..19fc448742 100644
--- a/erts/emulator/hipe/hipe_x86_signal.c
+++ b/erts/emulator/hipe/hipe_x86_signal.c
@@ -183,6 +183,7 @@ static void do_init(void)
#include <dlfcn.h>
static int (*__next_sigaction)(int, const struct sigaction*, struct sigaction*);
#define init_done() (__next_sigaction != 0)
+extern int _sigaction(int, const struct sigaction*, struct sigaction*);
#define __SIGACTION _sigaction
static void do_init(void)
{