summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-27 08:20:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:35 +0100
commit549fb198d4ddf034f46339c2b165d3c251d9cd8c (patch)
tree3242b488132ef85d45d8e87978aee02a550f15dc /tests
parent8712b8b1d29da110365badb4cf5f2d27802c5fc5 (diff)
downloadgnutls-549fb198d4ddf034f46339c2b165d3c251d9cd8c.tar.gz
tests: fix warning in rng-sigint.c
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/rng-sigint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rng-sigint.c b/tests/rng-sigint.c
index 6406855fed..e48646a2f5 100644
--- a/tests/rng-sigint.c
+++ b/tests/rng-sigint.c
@@ -24,13 +24,14 @@
#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>