--- a/GNUmakefile +++ b/GNUmakefile @@ -61,6 +61,6 @@ OBJS = $(SRCS:.c=.o) all: $(program) %.o: %.c $(HEADERS) prefix - $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="\"$(OFFPRFX)d\"" -DVERSION="\"$(version)\"" -c $< + $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="PRId64 \"d\"" -DVERSION="\"$(version)\"" -c $< include rules.mk --- a/init.c +++ b/init.c @@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fi #include /* the stat structure */ #include /* getopt(), getcwd(), sysconf() */ #include /* strcmp(), strlen(), strncpy() */ +#include #ifdef USE_LONG_OPTIONS #include /* getopt_long() */ #endif