diff options
author | wm4 <wm4@nowhere> | 2012-07-31 23:37:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-31 23:37:56 +0200 |
commit | f752212c6235316e681fade76c5693d46df7d310 (patch) | |
tree | ae098ae650e99ff9a4a50bf3c7b0f7cd8b1b841a /libmpcodecs/img_format.h | |
parent | 0744d99c5df3a2c7b3600083c97785eb3e6215b2 (diff) | |
download | mpv-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 'libmpcodecs/img_format.h')
-rw-r--r-- | libmpcodecs/img_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h index a0a1c453c7..c3bb2b9810 100644 --- a/libmpcodecs/img_format.h +++ b/libmpcodecs/img_format.h @@ -19,7 +19,7 @@ #ifndef MPLAYER_IMG_FORMAT_H #define MPLAYER_IMG_FORMAT_H -#include <endian.h> +#include <sys/types.h> #include "config.h" /* RGB/BGR Formats */ |