diff -Nurd -x'*~' grx249.orig/src/gformats/ctx2png.c grx249/src/gformats/ctx2png.c --- grx249.orig/src/gformats/ctx2png.c 2001-06-18 20:20:34.000000000 -0400 +++ grx249/src/gformats/ctx2png.c 2013-12-13 00:35:36.000000000 -0500 @@ -18,6 +18,7 @@ #include #include +#include #include #include "grx20.h" diff -Nurd -x'*~' grx249.orig/src/gformats/png2ctx.c grx249/src/gformats/png2ctx.c --- grx249.orig/src/gformats/png2ctx.c 2013-12-12 23:59:47.000000000 -0500 +++ grx249/src/gformats/png2ctx.c 2013-12-13 00:35:55.000000000 -0500 @@ -18,6 +18,7 @@ #include #include +#include #include #include "grx20.h" diff -Nurd -x'*~' grx249.orig/src/makefile.osx grx249/src/makefile.osx --- grx249.orig/src/makefile.osx 2013-12-12 23:59:47.000000000 -0500 +++ grx249/src/makefile.osx 2013-12-12 23:59:37.000000000 -0500 @@ -11,7 +11,7 @@ include ../makedefs.grx -INCDIR= -I. -I./include -I../include $(X11INCS) -I${prefix}/include +INCDIR= -I. -I./include -I../include ifdef GRX_DEFAULT_FONT_PATH CCOPT += -DGRX_DEFAULT_FONT_PATH=\"$(GRX_DEFAULT_FONT_PATH)\" @@ -98,6 +98,9 @@ INCDIR += -I../addons/bmp endif +INCDIR += -I${prefix}/include $(X11INCS) + + O= $(STD_O) \ $(ADDON_O) \ fdrivers/fd_xwin.o \