From 531eba18a67805f7a95d20f7f9e684d83c5091b6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 12 Mar 2012 23:13:10 +0100 Subject: zlib: fix include of zlib.h Including may lead to false positives when the user specifies a bad path in `./configure --shared-zlib --shared-zlib-includes=/path/to/zlib`. If a zlib.h exists somewhere on the system include path (common on UNIX systems), the compiler will include that instead, possibly leading to header mismatch errors that are hard to debug. --- src/node_zlib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 5d6311678..9e64a2453 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -25,8 +25,8 @@ #include #include #include -#include +#include "zlib.h" #include "node.h" #include "node_buffer.h" -- cgit v1.2.1