diff options
Diffstat (limited to 'libkdcraw/libraw/internal/defines.h')
-rw-r--r-- | libkdcraw/libraw/internal/defines.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libkdcraw/libraw/internal/defines.h b/libkdcraw/libraw/internal/defines.h index 462874a..9986b2f 100644 --- a/libkdcraw/libraw/internal/defines.h +++ b/libkdcraw/libraw/internal/defines.h @@ -4,12 +4,14 @@ Look into original file (probably http://cybercom.net/~dcoffin/dcraw/dcraw.c) for copyright information. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #define NO_JPEG -#define VERSION "8.93" - -#define _GNU_SOURCE +#define DCRAW_VERSION "8.93" #define _USE_MATH_DEFINES + #include <ctype.h> #include <errno.h> #include <fcntl.h> @@ -22,6 +24,7 @@ #include <string.h> #include <time.h> #include <sys/types.h> + #ifdef _OPENMP #include <omp.h> #endif @@ -29,7 +32,6 @@ NO_JPEG disables decoding of compressed Kodak DC120 files. NO_LCMS disables the "-p" option. */ -#include "config.h" #ifndef NO_JPEG #include <jpeglib.h> #endif |