summaryrefslogtreecommitdiffhomepage
path: root/patches/infozip.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/infozip.local.patch')
-rw-r--r--patches/infozip.local.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/infozip.local.patch b/patches/infozip.local.patch
index 4af76831..89416961 100644
--- a/patches/infozip.local.patch
+++ b/patches/infozip.local.patch
@@ -5,7 +5,7 @@
INSTALL_D = mkdir -p
-CFLAGS ?= -I. -DUNIX -DHAVE_TERMIOS_H -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DUIDGID_NOT_16BIT
-+override CFLAGS += -I. -DUNIX -DHAVE_TERMIOS_H -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DUIDGID_NOT_16BIT
++override CFLAGS += --include=unistd.h --include=stdlib.h --include=stdio.h --include=sys/stat.h -I. -DUNIX -DHAVE_TERMIOS_H -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DUIDGID_NOT_16BIT
LFLAGS1 ?=
LDFLAGS ?=