]> granicus.if.org Git - check/commitdiff
include signal.h in exit tests
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 19 Feb 2014 02:39:54 +0000 (02:39 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 19 Feb 2014 02:39:54 +0000 (02:39 +0000)
technically this should have been here before. However, the
autotools build did not need it, so it was not caught.
The CMake build requires it be in place to get the definition
of the SIGSEGV signal.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1123 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_exit.c

index 9bd493968a1eeed0614ea7120aebbc04580fee97..b86c7a8980b91f8540781714b5d4f6f05616b3a7 100644 (file)
@@ -1,6 +1,7 @@
 #include "../lib/libcompat.h"
 
 #include <stdlib.h>
+#include <signal.h>
 #include <stdio.h>
 #include <string.h>