summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-06-16 21:15:02 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-06-17 08:01:47 +0000
commit1be5efbcabaa8f8a513a4a5488e89d6cf5e4d42e (patch)
tree0f44d358f29f2a2e670d5ccf99c5b8f1e090095e
parent1daa6ba6b88f7cb5eb37a6d62ff56b4511d89412 (diff)
downloadmidipix_build-1be5efbcabaa8f8a513a4a5488e89d6cf5e4d42e.tar.bz2
midipix_build-1be5efbcabaa8f8a513a4a5488e89d6cf5e4d42e.tar.xz
patches/info{,un}zip{,_minipix}.local.patch: add missing #include's.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-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 ?=