You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
683 B

  1. --- a/GNUmakefile
  2. +++ b/GNUmakefile
  3. @@ -61,6 +61,6 @@ OBJS = $(SRCS:.c=.o)
  4. all: $(program)
  5. %.o: %.c $(HEADERS) prefix
  6. - $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="\"$(OFFPRFX)d\"" -DVERSION="\"$(version)\"" -c $<
  7. + $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="PRId64 \"d\"" -DVERSION="\"$(version)\"" -c $<
  8. include rules.mk
  9. --- a/init.c
  10. +++ b/init.c
  11. @@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fi
  12. #include <sys/stat.h> /* the stat structure */
  13. #include <unistd.h> /* getopt(), getcwd(), sysconf() */
  14. #include <string.h> /* strcmp(), strlen(), strncpy() */
  15. +#include <inttypes.h>
  16. #ifdef USE_LONG_OPTIONS
  17. #include <getopt.h> /* getopt_long() */
  18. #endif