zlib: fix include of zlib.h

Including <zlib.h> 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.
pull/24503/head
Ben Noordhuis 2012-03-12 23:13:10 +01:00
parent 677c2c112c
commit 531eba18a6
1 changed files with 1 additions and 1 deletions

View File

@ -25,8 +25,8 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <zlib.h>
#include "zlib.h"
#include "node.h" #include "node.h"
#include "node_buffer.h" #include "node_buffer.h"