# HG changeset patch # User reimar # Date 1105567202 0 # Node ID cae0dbeb44bb559dc983a230c392a224226c4fb8 # Parent d04cbfe4ea8de6638012ec58cee8df847045cc2d af_format.h needs config.h to be included first. diff -r d04cbfe4ea8d -r cae0dbeb44bb libaf/af_format.h --- a/libaf/af_format.h Wed Jan 12 21:56:25 2005 +0000 +++ b/libaf/af_format.h Wed Jan 12 22:00:02 2005 +0000 @@ -4,6 +4,10 @@ #ifndef __af_format_h__ #define __af_format_h__ +#ifndef MPLAYER_CONFIG_H +#error af_format.h needs config.h +#endif + // Endianess #define AF_FORMAT_BE (0<<0) // Big Endian #define AF_FORMAT_LE (1<<0) // Little Endian diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_arts.c --- a/libao2/ao_arts.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_arts.c Wed Jan 12 22:00:02 2005 +0000 @@ -10,10 +10,10 @@ #include #include +#include "config.h" #include "audio_out.h" #include "audio_out_internal.h" #include "libaf/af_format.h" -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_dsound.c --- a/libao2/ao_dsound.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_dsound.c Wed Jan 12 22:00:02 2005 +0000 @@ -28,6 +28,7 @@ #define DIRECTSOUND_VERSION 0x0600 #include +#include "config.h" #include "libaf/af_format.h" #include "audio_out.h" #include "audio_out_internal.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_esd.c --- a/libao2/ao_esd.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_esd.c Wed Jan 12 22:00:02 2005 +0000 @@ -30,10 +30,10 @@ #endif #include +#include "config.h" #include "audio_out.h" #include "audio_out_internal.h" #include "libaf/af_format.h" -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_jack.c --- a/libao2/ao_jack.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_jack.c Wed Jan 12 22:00:02 2005 +0000 @@ -12,10 +12,10 @@ #include #include +#include "config.h" #include "audio_out.h" #include "audio_out_internal.h" #include "libaf/af_format.h" -#include "config.h" #include "mp_msg.h" //#include "bio2jack.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_macosx.c --- a/libao2/ao_macosx.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_macosx.c Wed Jan 12 22:00:02 2005 +0000 @@ -43,6 +43,7 @@ #include #include +#include "config.h" #include "mp_msg.h" #include "audio_out.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_nas.c --- a/libao2/ao_nas.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_nas.c Wed Jan 12 22:00:02 2005 +0000 @@ -35,6 +35,7 @@ #include "mp_msg.h" +#include "config.h" #include "audio_out.h" #include "audio_out_internal.h" #include "libaf/af_format.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_null.c --- a/libao2/ao_null.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_null.c Wed Jan 12 22:00:02 2005 +0000 @@ -2,6 +2,7 @@ #include #include +#include "config.h" #include "libaf/af_format.h" #include "audio_out.h" #include "audio_out_internal.h" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_polyp.c --- a/libao2/ao_polyp.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_polyp.c Wed Jan 12 22:00:02 2005 +0000 @@ -4,10 +4,10 @@ #include #include +#include "config.h" #include "audio_out.h" #include "audio_out_internal.h" #include "libaf/af_format.h" -#include "config.h" #include "mp_msg.h" #define POLYP_CLIENT_NAME "MPlayer" diff -r d04cbfe4ea8d -r cae0dbeb44bb libao2/ao_win32.c --- a/libao2/ao_win32.c Wed Jan 12 21:56:25 2005 +0000 +++ b/libao2/ao_win32.c Wed Jan 12 22:00:02 2005 +0000 @@ -23,6 +23,7 @@ #include #include +#include "config.h" #include "libaf/af_format.h" #include "audio_out.h" #include "audio_out_internal.h"