mirror of https://github.com/mpv-player/mpv
Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
patch by Peter Hjalmarsson, xake rymdraket net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30039 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
316cd982df
commit
1745f18511
|
@ -18,6 +18,7 @@
|
|||
#ifndef _V_RANDOM_H_
|
||||
#define _V_RANDOM_H_
|
||||
#include "ivorbiscodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "os_types.h"
|
||||
|
||||
#include "asm_arm.h"
|
||||
|
@ -29,6 +30,7 @@
|
|||
/* 64 bit multiply */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#include "config.h"
|
||||
|
||||
#if !HAVE_BIGENDIAN
|
||||
|
|
|
@ -1,9 +1,18 @@
|
|||
--- misc.h 2005-01-04 16:29:01.000000000 +0100
|
||||
+++ misc.h 2004-12-30 13:09:20.000000000 +0100
|
||||
@@ -29,8 +29,9 @@
|
||||
@@ -18,6 +18,7 @@
|
||||
#ifndef _V_RANDOM_H_
|
||||
#define _V_RANDOM_H_
|
||||
#include "ivorbiscodec.h"
|
||||
+#include "codec_internal.h"
|
||||
#include "os_types.h"
|
||||
|
||||
#include "asm_arm.h"
|
||||
@@ -29,8 +30,10 @@
|
||||
/* 64 bit multiply */
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <stdlib.h>
|
||||
+#include "config.h"
|
||||
|
||||
-#if BYTE_ORDER==LITTLE_ENDIAN
|
||||
|
@ -11,7 +20,7 @@
|
|||
union magic {
|
||||
struct {
|
||||
ogg_int32_t lo;
|
||||
@@ -38,9 +39,7 @@
|
||||
@@ -38,9 +41,7 @@
|
||||
} halves;
|
||||
ogg_int64_t whole;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue