diff options
Diffstat (limited to 'formats/format_jpeg.c')
-rwxr-xr-x | formats/format_jpeg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c index 2d9b3e473..7e646f894 100755 --- a/formats/format_jpeg.c +++ b/formats/format_jpeg.c @@ -26,8 +26,11 @@ #include <errno.h> #include <string.h> #include <pthread.h> +#ifdef __linux__ #include <endian.h> - +#else +#include <machine/endian.h> +#endif static char *desc = "JPEG (Joint Picture Experts Group) Image Format"; |