imagsize.c (littleutils-1.2.4.tar.lz) | : | imagsize.c (littleutils-1.2.5.tar.lz) | ||
---|---|---|---|---|
skipping to change at line 43 | skipping to change at line 43 | |||
notice and this permission notice appear in supporting documentation. This | notice and this permission notice appear in supporting documentation. This | |||
software is provided "as is" without express or implied warranty. | software is provided "as is" without express or implied warranty. | |||
Derived "imagsize" program Copyright (C)2004-2020 by Brian Lindholm. All | Derived "imagsize" program Copyright (C)2004-2020 by Brian Lindholm. All | |||
rights reserved. Redistribution is permitted as described as above. */ | rights reserved. Redistribution is permitted as described as above. */ | |||
/* various includes */ | /* various includes */ | |||
#include <config.h> | #include <config.h> | |||
#if HAVE_INTTYPES_H | ||||
# include <inttypes.h> | ||||
#endif | ||||
#include <limits.h> | #include <limits.h> | |||
#ifdef HAVE_STDLIB_H | #ifdef HAVE_STDLIB_H | |||
# include <stdlib.h> | # include <stdlib.h> | |||
#endif | #endif | |||
#include <stdio.h> | #ifdef HAVE_STDIO_H | |||
# include <stdio.h> | ||||
#endif | ||||
#ifdef HAVE_STRING_H | #ifdef HAVE_STRING_H | |||
# include <string.h> | # include <string.h> | |||
#endif | #endif | |||
#ifdef HAVE_SYS_STAT_H | #ifdef HAVE_SYS_STAT_H | |||
# include <sys/stat.h> | # include <sys/stat.h> | |||
#endif | #endif | |||
#ifdef HAVE_UNISTD_H | #ifdef HAVE_UNISTD_H | |||
# include <unistd.h> | # include <unistd.h> | |||
# define OPTEND -1 | # define OPTEND -1 | |||
#else | #else | |||
# define OPTEND EOF | # define OPTEND EOF | |||
#endif | #endif | |||
#ifdef HAVE_GETOPT_H | #ifdef HAVE_GETOPT_H | |||
# include <getopt.h> | # include <getopt.h> | |||
#endif | #endif | |||
#if HAVE_INTTYPES_H | ||||
# include <inttypes.h> | ||||
#endif | ||||
#ifdef __MINGW32__ | #ifdef __MINGW32__ | |||
extern int getopt (int argc, char * const *argv, const char *optstring); | extern int getopt (int argc, char * const *argv, const char *optstring); | |||
extern char *optarg; | extern char *optarg; | |||
extern int optind; | extern int optind; | |||
#endif | #endif | |||
#ifdef DJGPP | #ifdef DJGPP | |||
unsigned short _djstat_flags = 63; /* Speed up stat command for DJGPP */ | unsigned short _djstat_flags = 63; /* Speed up stat command for DJGPP */ | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 6 lines changed or added |