Define NULL in inftrees.c if needed.
diff --git a/inftrees.c b/inftrees.c index 2a46871..8dc0d08 100644 --- a/inftrees.c +++ b/inftrees.c
@@ -16,6 +16,10 @@ #include "inftrees.h" #include "inflate.h" +#ifndef NULL +# define NULL 0 +#endif + #define MAXBITS 15 const char inflate_copyright[] =