aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_jpeg.c')
-rwxr-xr-xformats/format_jpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c
index 56c5ef8d8..b08403009 100755
--- a/formats/format_jpeg.c
+++ b/formats/format_jpeg.c
@@ -30,8 +30,12 @@
#ifdef __linux__
#include <endian.h>
#else
+#ifdef SOLARIS
+#include "solaris-compat/compat.h"
+#else
#include <machine/endian.h>
#endif
+#endif
static char *desc = "JPEG (Joint Picture Experts Group) Image Format";