mirror of
https://github.com/ggrandou/abootimg.git
synced 2024-11-23 09:53:32 +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
|
CPPFLAGS=-DHAS_BLKID
|
||||||
CFLAGS=-O3
|
CFLAGS=-O3 -Wall
|
||||||
LDLIBS=-lblkid
|
LDLIBS=-lblkid
|
||||||
|
|
||||||
all: abootimg
|
all: abootimg
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
Loading…
Reference in New Issue
Block a user