mirror of
https://github.com/ggrandou/abootimg.git
synced 2024-11-23 01:43:26 +08:00
fix implicit declared function ftruncate
This commit is contained in:
parent
b2dabebdcb
commit
d5e385e221
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
|
||||
CPPFLAGS=-DHAS_BLKID
|
||||
CFLAGS=-O3
|
||||
CFLAGS=-O3 -Wall
|
||||
LDLIBS=-lblkid
|
||||
|
||||
all: abootimg
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
|
Loading…
Reference in New Issue
Block a user