From: Nikos Mavrogiannopoulos Date: Fri, 13 May 2016 18:39:11 +0000 (+0200) Subject: tests: include unistd.h in tests which call _exit() X-Git-Tag: gnutls_3_5_1~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28e7edd96707d5f4f9df8fe0967e1ced3e88f91c;p=thirdparty%2Fgnutls.git tests: include unistd.h in tests which call _exit() --- diff --git a/tests/slow/cipher-test.c b/tests/slow/cipher-test.c index 6aa5811dc3..6b66e678c9 100644 --- a/tests/slow/cipher-test.c +++ b/tests/slow/cipher-test.c @@ -20,6 +20,7 @@ int main(int argc, char **argv) exit(77); } #else +# include static void handle_sigill(int sig) { diff --git a/tests/slow/hash-large.c b/tests/slow/hash-large.c index 7c00b9e622..5c3fd2ce51 100644 --- a/tests/slow/hash-large.c +++ b/tests/slow/hash-large.c @@ -40,6 +40,7 @@ void doit(void) #if !defined(_WIN32) # include +# include static void exit_77(int signo) {