aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user/signal.c')
-rw-r--r--darwin-user/signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index 1337cd2b1f..d32142547e 100644
--- a/darwin-user/signal.c
+++ b/darwin-user/signal.c
@@ -37,6 +37,7 @@
#include <signal.h>
#include "qemu.h"
+#include "qemu-common.h"
#define DEBUG_SIGNAL
@@ -132,7 +133,7 @@ static inline void free_sigqueue(struct sigqueue *q)
}
/* abort execution with signal */
-void __attribute((noreturn)) force_sig(int sig)
+void noreturn force_sig(int sig)
{
int host_sig;
host_sig = target_to_host_signal(sig);