Skip to content

Commit ebcae2b

Browse files
committed
Add stdlib.h include file to include NULL's definition.
On some platforms (FreeBSD 12.0 for example) `NULL` is not being defined via including `zlib.h` so Adding a `stdlib.h` include makes sense (and fixes them) Add new entry to AUTHORS
1 parent 21c6286 commit ebcae2b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Alexander Guy <[email protected]>
88
Robert Millan <[email protected]>
99
Viktor Pocedulic <[email protected]>
1010
David Michael <[email protected]>
11+
Mahdi Mokhtari <[email protected]>

buildrump.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ maketools ()
531531
# very confused if you start the build, it bombs, you add zlib,
532532
# and retry.
533533
doesitbuild_host '#include <zlib.h>
534+
#include <stdlib.h>
534535
int main() {gzopen(NULL, NULL); return 0;}' -lz \
535536
|| die 'Host zlib (libz, -lz) required, please install one!'
536537

0 commit comments

Comments
 (0)