aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_jpeg.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 20:23:30 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 20:23:30 +0000
commitd364248a31a54c13071493c18667572b7c6c42c5 (patch)
treec01b8094cca71bb2183b0eb58d6010d89f3344ed /formats/format_jpeg.c
parent51be9a03a601f4b64b883d5c97966041095517b0 (diff)
More include fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@892 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_jpeg.c')
-rwxr-xr-xformats/format_jpeg.c5
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";