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];
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to