diff options
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index 18ffc2db3a4..9c2f6962b6e 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -83,16 +83,19 @@ typedef struct w32_bitmap_record Bitmap_Record; | |||
| 83 | 83 | ||
| 84 | #ifdef MAC_OS | 84 | #ifdef MAC_OS |
| 85 | #include "macterm.h" | 85 | #include "macterm.h" |
| 86 | #include <sys/stat.h> | ||
| 86 | #ifndef MAC_OSX | 87 | #ifndef MAC_OSX |
| 87 | #include <alloca.h> | 88 | #include <alloca.h> |
| 89 | #include <sys/param.h> | ||
| 88 | #endif | 90 | #endif |
| 89 | #ifdef MAC_OSX | 91 | #ifdef MAC_OSX |
| 90 | #include <sys/stat.h> | ||
| 91 | #include <QuickTime/QuickTime.h> | 92 | #include <QuickTime/QuickTime.h> |
| 92 | #else /* not MAC_OSX */ | 93 | #else /* not MAC_OSX */ |
| 93 | #include <Windows.h> | 94 | #include <Windows.h> |
| 94 | #include <Gestalt.h> | 95 | #include <Gestalt.h> |
| 95 | #include <TextUtils.h> | 96 | #include <TextUtils.h> |
| 97 | #include <ImageCompression.h> | ||
| 98 | #include <QuickTimeComponents.h> | ||
| 96 | #endif /* not MAC_OSX */ | 99 | #endif /* not MAC_OSX */ |
| 97 | 100 | ||
| 98 | /* MAC_TODO : Color tables on Mac. */ | 101 | /* MAC_TODO : Color tables on Mac. */ |
| @@ -6269,6 +6272,12 @@ jpeg_image_p (object) | |||
| 6269 | #undef HAVE_STDLIB_H | 6272 | #undef HAVE_STDLIB_H |
| 6270 | #endif /* HAVE_STLIB_H */ | 6273 | #endif /* HAVE_STLIB_H */ |
| 6271 | 6274 | ||
| 6275 | #if defined (HAVE_NTGUI) && !defined (__WIN32__) | ||
| 6276 | /* jpeglib.h will define boolean differently depending on __WIN32__, | ||
| 6277 | so make sure it is defined. */ | ||
| 6278 | #define __WIN32__ 1 | ||
| 6279 | #endif | ||
| 6280 | |||
| 6272 | #include <jpeglib.h> | 6281 | #include <jpeglib.h> |
| 6273 | #include <jerror.h> | 6282 | #include <jerror.h> |
| 6274 | #include <setjmp.h> | 6283 | #include <setjmp.h> |