diff options
author | Kai Wang <kaiw@FreeBSD.org> | 2010-07-21 09:33:45 +0000 |
---|---|---|
committer | Kai Wang <kaiw@FreeBSD.org> | 2010-07-21 09:33:45 +0000 |
commit | f44d4dafb4046944fb671536347816d6c56883ec (patch) | |
tree | aeb414773bb830f40d4c48ce60a15a95637b22db /lib/libelf/elf_begin.c | |
parent | c0308c2c849131d8e95780cdce5397e41f4f4f1a (diff) | |
download | src-f44d4dafb4046944fb671536347816d6c56883ec.tar.gz src-f44d4dafb4046944fb671536347816d6c56883ec.zip |
Use <unistd.h> to declare the prototype for ftruncate().
Obtained from: elftoolchain
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=210329
Diffstat (limited to 'lib/libelf/elf_begin.c')
-rw-r--r-- | lib/libelf/elf_begin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libelf/elf_begin.c b/lib/libelf/elf_begin.c index d59042c2baf7..7879dbefd31c 100644 --- a/lib/libelf/elf_begin.c +++ b/lib/libelf/elf_begin.c @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <ar.h> #include <ctype.h> #include <libelf.h> +#include <unistd.h> #include "_libelf.h" |