summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdio/test-perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/lib/libc/stdio/test-perror.c')
-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