diff --git a/Makefile.common b/Makefile.common index 2534ad8..ce12d93 100644 --- a/Makefile.common +++ b/Makefile.common @@ -191,6 +191,7 @@ ifeq ($(HAVE_CHD), 1) ifneq ($(STATIC_LINKING), 1) ifeq ($(SYSTEM_ZLIB), 1) INCFLAGS += $(shell pkg-config --cflags zlib) + INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat LIBS += $(shell pkg-config --libs zlib) else INCFLAGS += $(ZLIB_INCFLAGS)