From d5e385e221844eb23784fbd0e61cd1361032a79a Mon Sep 17 00:00:00 2001 From: Heiko Stuebner Date: Thu, 14 Jul 2011 21:12:40 +0200 Subject: [PATCH] fix implicit declared function ftruncate --- Makefile | 2 +- abootimg.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63882e7..ed39f9b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CPPFLAGS=-DHAS_BLKID -CFLAGS=-O3 +CFLAGS=-O3 -Wall LDLIBS=-lblkid all: abootimg diff --git a/abootimg.c b/abootimg.c index 381fa23..464522f 100644 --- a/abootimg.c +++ b/abootimg.c @@ -24,6 +24,7 @@ #include #include #include +#include #ifdef __linux__