fix implicit declared function ftruncate

This commit is contained in:
Heiko Stuebner 2011-07-14 21:12:40 +02:00
parent b2dabebdcb
commit d5e385e221
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
CPPFLAGS=-DHAS_BLKID
CFLAGS=-O3
CFLAGS=-O3 -Wall
LDLIBS=-lblkid
all: abootimg

View File

@ -24,6 +24,7 @@
#include <stdarg.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef __linux__