svn commit: r244038 - head/tools/regression/lib/libc/stdio

Jilles Tjoelker jilles at FreeBSD.org
Sat Dec 8 19:42:16 UTC 2012


Author: jilles
Date: Sat Dec  8 19:42:15 2012
New Revision: 244038
URL: http://svnweb.freebsd.org/changeset/base/244038

Log:
  libc: Add a missing header to a test program.
  
  Usage of dup(), mkstemp() and unlink() needs <unistd.h>.

Modified:
  head/tools/regression/lib/libc/stdio/test-perror.c

Modified: head/tools/regression/lib/libc/stdio/test-perror.c
==============================================================================
--- head/tools/regression/lib/libc/stdio/test-perror.c	Sat Dec  8 18:41:16 2012	(r244037)
+++ head/tools/regression/lib/libc/stdio/test-perror.c	Sat Dec  8 19:42:15 2012	(r244038)
@@ -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];


More information about the svn-src-all mailing list