diff --git a/Makefile b/Makefile index 1b2da77..995e07c 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ CTL_LANG=1 -CFLAGS = -Wall -Wno-unused-function -Wno-unused-but-set-variable +CFLAGS = -Wall -Wno-unused-function -Wno-unused-but-set-variable -I/usr/include/netpbm LDFLAGS = LDLIBS = -ltiff -ljpeg -lnetpbm -lz -lm diff --git a/tumble_pbm.c b/tumble_pbm.c index e6f09b8..5651cf4 100644 --- a/tumble_pbm.c +++ b/tumble_pbm.c @@ -28,7 +28,8 @@ #include #include /* strcasecmp() is a BSDism */ -#include +#define HAVE_BOOL 1 +#include /* * pbm_readpbmrow_packed always uses big-endian bit ordering. * On little-endian processors (such as the x86), we want little-endian