From 8c58254620b74c4697cdc0e81f222490bc4f318a Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 6 Aug 2023 21:24:58 +0300 Subject: [PATCH] try to fix apple build --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dac70e32..2f58674b 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,7 @@ OBJS += deps/libchdr/deps/zlib-1.2.13/adler32.o \ deps/libchdr/deps/zlib-1.2.13/trees.o \ deps/libchdr/deps/zlib-1.2.13/uncompr.o \ deps/libchdr/deps/zlib-1.2.13/zutil.o +deps/libchdr/deps/zlib-1.2.13/%.o: CFLAGS += -DHAVE_UNISTD_H endif ifeq "$(ARCH)" "arm" OBJS += libpcsxcore/gte_arm.o -- 2.39.5