aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/prereq.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index c51953b619..6b3621dbac 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -83,7 +83,7 @@ $(eval $(call Require,working-g++, \
define Require/zlib
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
- gcc -x c -o $(TMP_DIR)/a.out -lz -
+ gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz -
endef
$(eval $(call Require,zlib, \