]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: include unistd.h in tests which call _exit()
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 13 May 2016 18:39:11 +0000 (20:39 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 13 May 2016 18:39:11 +0000 (20:39 +0200)
tests/slow/cipher-test.c
tests/slow/hash-large.c

index 6aa5811dc3af56f63ba9cd94b0fe1b7a1f7a92b0..6b66e678c9c11bc1539af9ed923ee09f99e704e2 100644 (file)
@@ -20,6 +20,7 @@ int main(int argc, char **argv)
        exit(77);
 }
 #else
+# include <unistd.h>
 
 static void handle_sigill(int sig)
 {
index 7c00b9e6221035dff0ed11cb199d19b386c815bc..5c3fd2ce51ec63155f67e760fa32cbbc98d0ea6e 100644 (file)
@@ -40,6 +40,7 @@ void doit(void)
 
 #if !defined(_WIN32)
 # include <signal.h>
+# include <unistd.h>
 
 static void exit_77(int signo)
 {