summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/infounzip.local.patch2
-rw-r--r--patches/infozip.local.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/patches/infounzip.local.patch b/patches/infounzip.local.patch
index f8d3c1c6..16fd15bb 100644
--- a/patches/infounzip.local.patch
+++ b/patches/infounzip.local.patch
@@ -5,7 +5,7 @@
INSTALL_D = mkdir -p
-CFLAGS ?= -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
-+override CFLAGS += -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
++override CFLAGS += --include=unistd.h --include=stdlib.h --include=stdio.h --include=sys/stat.h -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
LFLAGS1 ?=
LDFLAGS ?=
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 ?=