]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: fix warning in rng-sigint.c
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 27 Sep 2017 06:20:10 +0000 (08:20 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:35 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
tests/rng-sigint.c

index 6406855fed0ed3d73d25995da19c8b6853c3cbac..e48646a2f595136d2e1c563aeb70a14b366af41f 100644 (file)
 #include <config.h>
 #endif
 
+#include <stdlib.h>
+
 /* This program verifies whether the low-level random functions can operate
  * properly, even if interrupted by signals */
 
 #if defined(HAVE_SETITIMER) && (defined(HAVE_LINUX_GETRANDOM) || defined(__linux__))
 
 #include <stdio.h>
-#include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/time.h>