Changeset 10994 for trunk/psLib/src/jpeg/psImageJpeg.c
- Timestamp:
- Jan 8, 2007, 6:24:08 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/jpeg/psImageJpeg.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/jpeg/psImageJpeg.c
r9730 r10994 1 #ifdef HAVE_CONFIG_H 2 #include <config.h> 3 #endif 4 1 5 #include <stdio.h> 2 6 #include <strings.h> // for strcasecmp 3 7 #include <string.h> 4 5 #include <jpeglib.h>6 8 7 9 #include "psMemory.h" … … 11 13 #include "psAssert.h" 12 14 #include "psImageJpeg.h" 15 16 #ifdef HAVE_STDLIB_H 17 // jpeglib.h includes jconfig.h which is full of autoconf generated HAVE_* 18 // defines. This is a hack to work around CPP redefinition errors. Arrrrrgh!!! 19 // -JH 20 # undef HAVE_STDLIB_H 21 # include <jpeglib.h> 22 #endif // ifdef HAVE_STDLIB_H 13 23 14 24 static void imageJpegColormapFree(psImageJpegColormap *map)
Note:
See TracChangeset
for help on using the changeset viewer.
