summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-17 09:09:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-17 09:09:36 +0000
commitbc9ab4990b91512939e8e8345ceb0240a98f02ea (patch)
tree93a0ae27a550e68eaddcd2a9d1e7d61e977d08b7 /libmpdemux
parenta1e989e288eb83f42cc26a5157901e98302fab2e (diff)
downloadmpv-bc9ab4990b91512939e8e8345ceb0240a98f02ea.tar.bz2
mpv-bc9ab4990b91512939e8e8345ceb0240a98f02ea.tar.xz
Add missing #includes that are required for things used in the header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27095 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/aviheader.h4
-rw-r--r--libmpdemux/demuxer.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h
index 3c1e782062..2fd81d248a 100644
--- a/libmpdemux/aviheader.h
+++ b/libmpdemux/aviheader.h
@@ -1,7 +1,9 @@
#ifndef MPLAYER_AVIHEADER_H
#define MPLAYER_AVIHEADER_H
-//#include "config.h" /* get correct definition WORDS_BIGENDIAN */
+#include <sys/types.h>
+#include <stdint.h>
+#include "config.h" /* get correct definition of WORDS_BIGENDIAN */
#include "libavutil/common.h"
#include "mpbswap.h"
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h
index 22f139345e..a2464c7390 100644
--- a/libmpdemux/demuxer.h
+++ b/libmpdemux/demuxer.h
@@ -1,6 +1,7 @@
#ifndef MPLAYER_DEMUXER_H
#define MPLAYER_DEMUXER_H
+#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>