1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244038

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