svn commit: r210329 - head/lib/libelf

Kai Wang kaiw at FreeBSD.org
Wed Jul 21 09:33:45 UTC 2010


Author: kaiw
Date: Wed Jul 21 09:33:45 2010
New Revision: 210329
URL: http://svn.freebsd.org/changeset/base/210329

Log:
  Use <unistd.h> to declare the prototype for ftruncate().
  
  Obtained from:	elftoolchain
  MFC after:		1 month

Modified:
  head/lib/libelf/elf_begin.c

Modified: head/lib/libelf/elf_begin.c
==============================================================================
--- head/lib/libelf/elf_begin.c	Wed Jul 21 09:27:16 2010	(r210328)
+++ head/lib/libelf/elf_begin.c	Wed Jul 21 09:33:45 2010	(r210329)
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
 #include <ar.h>
 #include <ctype.h>
 #include <libelf.h>
+#include <unistd.h>
 
 #include "_libelf.h"
 


More information about the svn-src-all mailing list