libc: Add a missing header to a test program.

Usage of dup(), mkstemp() and unlink() needs <unistd.h>.
This commit is contained in:
Jilles Tjoelker 2012-12-08 19:42:15 +00:00
parent 2214137ab1
commit b731376e8c

View file

@ -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];