diff -rubB foremost-0.69/Makefile foremost-0.69-mac/Makefile --- foremost-0.69/Makefile Fri Jan 9 14:45:23 2004 +++ foremost-0.69-mac/Makefile Mon Oct 25 07:38:12 2004 @@ -41,6 +41,8 @@ linux: CC += -D__LINUX linux: $(GOAL) +mac: $(GOAL) + # This version of foremost will compile under Cygwin or mingw. # Not all features have been fully tested on windows. win32: CC += $(CROSSOPT) diff -rubB foremost-0.69/foremost.h foremost-0.69-mac/foremost.h --- foremost-0.69/foremost.h Fri Jan 9 14:45:23 2004 +++ foremost-0.69-mac/foremost.h Mon Oct 25 07:49:01 2004 @@ -35,6 +35,15 @@ #include #include +#ifdef __APPLE__ +#define __UNIX +#define strtoull strtoul +#include +#include +#include +#include +#endif /* ifdef __APPLE__ */ + #ifdef __OPENBSD #define __UNIX #define strtoull strtoul