diff options
Diffstat (limited to 'converter/other')
35 files changed, 41 insertions, 0 deletions
diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c index 69f17bcc..3c8adcf0 100644 --- a/converter/other/bmptopnm.c +++ b/converter/other/bmptopnm.c @@ -27,6 +27,7 @@ #include <limits.h> #include <assert.h> +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/cameratopam/cameratopam.c b/converter/other/cameratopam/cameratopam.c index f2c6d78c..b2d6da9b 100644 --- a/converter/other/cameratopam/cameratopam.c +++ b/converter/other/cameratopam/cameratopam.c @@ -30,6 +30,7 @@ #include <unistd.h> #endif +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "pam.h" diff --git a/converter/other/giftopnm.c b/converter/other/giftopnm.c index a79a0bbe..df049bf3 100644 --- a/converter/other/giftopnm.c +++ b/converter/other/giftopnm.c @@ -23,6 +23,7 @@ #include <string.h> #include <assert.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "nstring.h" #include "shhopt.h" diff --git a/converter/other/hdifftopam.c b/converter/other/hdifftopam.c index 48282526..7bfeed9b 100644 --- a/converter/other/hdifftopam.c +++ b/converter/other/hdifftopam.c @@ -9,6 +9,7 @@ #include <string.h> #include <stdio.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/infotopam.c b/converter/other/infotopam.c index 4f29eb07..21fa8ee2 100644 --- a/converter/other/infotopam.c +++ b/converter/other/infotopam.c @@ -65,6 +65,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c index e11e9fb4..e6db7658 100644 --- a/converter/other/jpeg2000/jpeg2ktopam.c +++ b/converter/other/jpeg2000/jpeg2ktopam.c @@ -13,6 +13,7 @@ #define _XOPEN_SOURCE 600 #include <string.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/jpeg2000/pamtojpeg2k.c b/converter/other/jpeg2000/pamtojpeg2k.c index 851d2bf9..70774725 100644 --- a/converter/other/jpeg2000/pamtojpeg2k.c +++ b/converter/other/jpeg2000/pamtojpeg2k.c @@ -13,6 +13,7 @@ #define _XOPEN_SOURCE 600 #include <string.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/jpegtopnm.c b/converter/other/jpegtopnm.c index 4679d497..07a7dfb0 100644 --- a/converter/other/jpegtopnm.c +++ b/converter/other/jpegtopnm.c @@ -61,6 +61,8 @@ itself, but doesn't. */ #include <jpeglib.h> + +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pamtodjvurle.c b/converter/other/pamtodjvurle.c index fecf410e..2d26eeb0 100644 --- a/converter/other/pamtodjvurle.c +++ b/converter/other/pamtodjvurle.c @@ -16,6 +16,7 @@ #include <stdio.h> #include <assert.h> +#include "pm_c_util.h" #include "pam.h" #include "pammap.h" #include "shhopt.h" diff --git a/converter/other/pamtofits.c b/converter/other/pamtofits.c index 7a71ff56..7a1c70de 100644 --- a/converter/other/pamtofits.c +++ b/converter/other/pamtofits.c @@ -30,6 +30,7 @@ #include <string.h> #include <stdio.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/pamtogif.c b/converter/other/pamtogif.c index edaf0695..b8df9626 100644 --- a/converter/other/pamtogif.c +++ b/converter/other/pamtogif.c @@ -9,6 +9,7 @@ #include <assert.h> #include <string.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/pamtohdiff.c b/converter/other/pamtohdiff.c index 0e1ff00f..2d5f6a61 100644 --- a/converter/other/pamtohdiff.c +++ b/converter/other/pamtohdiff.c @@ -16,6 +16,7 @@ #include <string.h> #include <stdio.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" diff --git a/converter/other/pamtohtmltbl.c b/converter/other/pamtohtmltbl.c index 70aa3b2d..5335ff9f 100644 --- a/converter/other/pamtohtmltbl.c +++ b/converter/other/pamtohtmltbl.c @@ -2,6 +2,7 @@ #include <stdlib.h> #include <string.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "pam.h" diff --git a/converter/other/pamtompfont.c b/converter/other/pamtompfont.c index b8d11aea..f755dfef 100644 --- a/converter/other/pamtompfont.c +++ b/converter/other/pamtompfont.c @@ -21,6 +21,7 @@ #include <string.h> #include <assert.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "pm.h" diff --git a/converter/other/pamtopfm.c b/converter/other/pamtopfm.c index ee44eeb5..129b8eee 100644 --- a/converter/other/pamtopfm.c +++ b/converter/other/pamtopfm.c @@ -15,6 +15,7 @@ #include <string.h> #include <assert.h> +#include "pm_c_util.h" #include "pam.h" #include "pm_gamma.h" #include "shhopt.h" diff --git a/converter/other/pamtopnm.c b/converter/other/pamtopnm.c index 6835b43f..86f6514c 100644 --- a/converter/other/pamtopnm.c +++ b/converter/other/pamtopnm.c @@ -12,6 +12,7 @@ #include <string.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pamtosvg/pamtosvg.c b/converter/other/pamtosvg/pamtosvg.c index 36f69b59..dbe67c74 100644 --- a/converter/other/pamtosvg/pamtosvg.c +++ b/converter/other/pamtosvg/pamtosvg.c @@ -4,6 +4,7 @@ #include <assert.h> #include <math.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "nstring.h" #include "shhopt.h" diff --git a/converter/other/pamtotga.c b/converter/other/pamtotga.c index addd2d91..c23b92b1 100644 --- a/converter/other/pamtotga.c +++ b/converter/other/pamtotga.c @@ -15,6 +15,7 @@ #include <string.h> +#include "pm_c_util.h" #include "pam.h" #include "pammap.h" #include "shhopt.h" diff --git a/converter/other/pamtouil.c b/converter/other/pamtouil.c index 3e67da7d..209ebf16 100644 --- a/converter/other/pamtouil.c +++ b/converter/other/pamtouil.c @@ -17,6 +17,8 @@ #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ #include <ctype.h> #include <string.h> + +#include "pm_c_util.h" #include "pam.h" #include "pammap.h" #include "colorname.h" diff --git a/converter/other/pfmtopam.c b/converter/other/pfmtopam.c index 9430f5fa..1617ed31 100644 --- a/converter/other/pfmtopam.c +++ b/converter/other/pfmtopam.c @@ -15,6 +15,7 @@ #include <string.h> #include <assert.h> +#include "pm_c_util.h" #include "pam.h" #include "pm_gamma.h" #include "shhopt.h" diff --git a/converter/other/pgmtopbm.c b/converter/other/pgmtopbm.c index 34cc2c91..f828b716 100644 --- a/converter/other/pgmtopbm.c +++ b/converter/other/pgmtopbm.c @@ -12,6 +12,7 @@ #include <assert.h> +#include "pm_c_util.h" #include "shhopt.h" #include "pgm.h" #include "dithers.h" diff --git a/converter/other/pgmtoppm.c b/converter/other/pgmtoppm.c index 12bc7d25..7194db49 100644 --- a/converter/other/pgmtoppm.c +++ b/converter/other/pgmtoppm.c @@ -13,6 +13,7 @@ #define _BSD_SOURCE /* Make sure strdup() is in <string.h> */ #include <string.h> +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "ppm.h" diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c index 3039c769..b3f934c7 100644 --- a/converter/other/pngtopam.c +++ b/converter/other/pngtopam.c @@ -24,6 +24,7 @@ #include <png.h> /* includes zlib.h and setjmp.h */ #define VERSION "2.37.4 (5 December 1999) +netpbm" +#include "pm_c_util.h" #include "mallocvar.h" #include "nstring.h" #include "shhopt.h" diff --git a/converter/other/pngtopnm.c b/converter/other/pngtopnm.c index 8ffff617..fe32f641 100644 --- a/converter/other/pngtopnm.c +++ b/converter/other/pngtopnm.c @@ -25,6 +25,7 @@ #include <png.h> /* includes zlib.h and setjmp.h */ #define VERSION "2.37.4 (5 December 1999) +netpbm" +#include "pm_c_util.h" #include "mallocvar.h" #include "nstring.h" #include "shhopt.h" diff --git a/converter/other/pnmtojpeg.c b/converter/other/pnmtojpeg.c index 3110542d..198aa156 100644 --- a/converter/other/pnmtojpeg.c +++ b/converter/other/pnmtojpeg.c @@ -29,6 +29,8 @@ itself, but doesn't. */ #include <jpeglib.h> + +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pnmtopalm/palmtopnm.c b/converter/other/pnmtopalm/palmtopnm.c index 9cd695e3..d66af69b 100644 --- a/converter/other/pnmtopalm/palmtopnm.c +++ b/converter/other/pnmtopalm/palmtopnm.c @@ -15,6 +15,7 @@ #include <string.h> #include <assert.h> +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pnmtopalm/pnmtopalm.c b/converter/other/pnmtopalm/pnmtopalm.c index f5f6e44a..3d20788c 100644 --- a/converter/other/pnmtopalm/pnmtopalm.c +++ b/converter/other/pnmtopalm/pnmtopalm.c @@ -21,6 +21,7 @@ #include <assert.h> #include <limits.h> +#include "pm_c_util.h" #include "pnm.h" #include "palm.h" #include "shhopt.h" diff --git a/converter/other/pnmtopclxl.c b/converter/other/pnmtopclxl.c index 9819ebe4..34f7065d 100644 --- a/converter/other/pnmtopclxl.c +++ b/converter/other/pnmtopclxl.c @@ -29,6 +29,7 @@ #include <sys/types.h> #include <ctype.h> +#include "pm_c_util.h" #include "pam.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pnmtopng.c b/converter/other/pnmtopng.c index 72177507..6d1b0efc 100644 --- a/converter/other/pnmtopng.c +++ b/converter/other/pnmtopng.c @@ -60,6 +60,8 @@ #include <string.h> /* strcat() */ #include <limits.h> #include <png.h> /* includes zlib.h and setjmp.h */ + +#include "pm_c_util.h" #include "pnm.h" #include "pngtxt.h" #include "shhopt.h" diff --git a/converter/other/pnmtops.c b/converter/other/pnmtops.c index 410fa0b9..b43cb483 100644 --- a/converter/other/pnmtops.c +++ b/converter/other/pnmtops.c @@ -34,6 +34,8 @@ #include <string.h> #include <assert.h> + +#include "pm_c_util.h" #include "pam.h" #include "mallocvar.h" #include "shhopt.h" diff --git a/converter/other/pnmtoxwd.c b/converter/other/pnmtoxwd.c index d0625b0b..b6439d28 100644 --- a/converter/other/pnmtoxwd.c +++ b/converter/other/pnmtoxwd.c @@ -11,6 +11,8 @@ */ #include <string.h> + +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c index f99478db..ba1470b0 100644 --- a/converter/other/pstopnm.c +++ b/converter/other/pstopnm.c @@ -26,6 +26,7 @@ #include <sys/wait.h> #include <sys/stat.h> +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "nstring.h" diff --git a/converter/other/rlatopam.c b/converter/other/rlatopam.c index ae1326ca..703c4820 100644 --- a/converter/other/rlatopam.c +++ b/converter/other/rlatopam.c @@ -16,6 +16,7 @@ #include <string.h> #include <errno.h> +#include "pm_c_util.h" #include "shhopt.h" #include "mallocvar.h" #include "pam.h" diff --git a/converter/other/rletopnm.c b/converter/other/rletopnm.c index f98ea8a8..83ada51b 100644 --- a/converter/other/rletopnm.c +++ b/converter/other/rletopnm.c @@ -46,6 +46,7 @@ #define NO_DECLARE_MALLOC #include <rle.h> +#include "pm_c_util.h" #include "pnm.h" #include "shhopt.h" #include "mallocvar.h" diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c index fe0de2d7..a8c0fe1d 100644 --- a/converter/other/tifftopnm.c +++ b/converter/other/tifftopnm.c @@ -53,6 +53,7 @@ #include <string.h> #include <stdio.h> +#include "pm_c_util.h" #include "shhopt.h" #include "mallocvar.h" #include "nstring.h" |