Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 19:42:16 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244038 - head/tools/regression/lib/libc/stdio
Message-ID:  <201212081942.qB8JgG5R003338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212081942.qB8JgG5R003338>