From 18fec52206362ca0ecb0f742b0ef36619094d08f Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 27 Apr 2013 13:44:23 +0200 Subject: Properly declare _sigaction on Darwin --- erts/emulator/hipe/hipe_x86_signal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'erts') 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 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) { -- cgit v1.2.3