summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-12-08 19:42:15 +0000
committerjilles <jilles@FreeBSD.org>2012-12-08 19:42:15 +0000
commiteae7439d0bab58ba902a238a1764f314419222c1 (patch)
tree2a9932e4f0b4b942ec1b36934c234155d52ce918 /tools/regression
parent2e821afa0e6898492aaacd4824b629319c124b42 (diff)
downloadFreeBSD-src-eae7439d0bab58ba902a238a1764f314419222c1.zip
FreeBSD-src-eae7439d0bab58ba902a238a1764f314419222c1.tar.gz
libc: Add a missing header to a test program.
Usage of dup(), mkstemp() and unlink() needs <unistd.h>.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/lib/libc/stdio/test-perror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/regression/lib/libc/stdio/test-perror.c b/tools/regression/lib/libc/stdio/test-perror.c
index 992b734..24aca89 100644
--- a/tools/regression/lib/libc/stdio/test-perror.c
+++ b/tools/regression/lib/libc/stdio/test-perror.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
static void cleanup(void);
static char tmpfil[PATH_MAX];
OpenPOWER on IntegriCloud