From c6aa04108ec41042aecb72ad4c9ec6dc7d96b013 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 15 Sep 2017 10:19:34 +0200 Subject: [PATCH] Move #ifdef up --- test/default/misuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/default/misuse.c b/test/default/misuse.c index f95269b9..d1cced4a 100644 --- a/test/default/misuse.c +++ b/test/default/misuse.c @@ -2,7 +2,8 @@ #define TEST_NAME "misuse" #include "cmptest.h" -#include +#if defined(SIGABRT) && (defined(__APPLE__) || defined(__OpenBSD__)) +# include static void sigabrt_handler_6(int sig) @@ -63,7 +64,6 @@ sigabrt_handler_1(int sig) exit(1); } -#if defined(SIGABRT) && (defined(__APPLE__) || defined(__OpenBSD__)) int main(void) {