summaryrefslogtreecommitdiffstats
path: root/stream/stream_cdda.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-31 23:37:56 +0200
committerwm4 <wm4@nowhere>2012-07-31 23:37:56 +0200
commitf752212c6235316e681fade76c5693d46df7d310 (patch)
treeae098ae650e99ff9a4a50bf3c7b0f7cd8b1b841a /stream/stream_cdda.c
parent0744d99c5df3a2c7b3600083c97785eb3e6215b2 (diff)
downloadmpv-f752212c6235316e681fade76c5693d46df7d310.tar.bz2
mpv-f752212c6235316e681fade76c5693d46df7d310.tar.xz
Change <endian.h> include to <sys/types.h>
This seems to be more portable. Should fix compilation on OSX and FreeBSD. Apparently also works on MinGW-w64.
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r--stream/stream_cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 5a11e051ab..8bd179b1df 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
-#include <endian.h>
+#include <sys/types.h>
#include "talloc.h"