summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/img_format.h3
-rw-r--r--video/img_fourcc.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/video/img_format.h b/video/img_format.h
index c6c26e7fab..03ae1e91d3 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -20,7 +20,8 @@
#define MPLAYER_IMG_FORMAT_H
#include <inttypes.h>
-#include <sys/types.h>
+
+#include "osdep/endian.h"
#include "bstr/bstr.h"
#if BYTE_ORDER == BIG_ENDIAN
diff --git a/video/img_fourcc.h b/video/img_fourcc.h
index ee30ff0c26..1539a7b4f3 100644
--- a/video/img_fourcc.h
+++ b/video/img_fourcc.h
@@ -1,7 +1,7 @@
#ifndef MPV_IMG_FOURCC_H
#define MPV_IMG_FOURCC_H
-#include <sys/types.h>
+#include "osdep/endian.h"
#define MP_FOURCC(a,b,c,d) ((a) | ((b)<<8) | ((c)<<16) | ((unsigned)(d)<<24))