Date: Wed, 21 Jul 2010 09:33:45 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r210329 - head/lib/libelf Message-ID: <201007210933.o6L9Xj6b076184@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007210933.o6L9Xj6b076184>