From 318049b8eda451d768e34d8e97bb3bbe457faace Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 14 Jul 2007 14:34:40 +0000 Subject: move #include of system headers to top of file Originally committed as revision 9646 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavutil') diff --git a/libavutil/internal.h b/libavutil/internal.h index b44e1229f4..e8dc72ef85 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -26,7 +26,13 @@ #ifndef INTERNAL_H #define INTERNAL_H +#if !defined(DEBUG) && !defined(NDEBUG) +# define NDEBUG +#endif + #include +#include +#include #ifndef attribute_used #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) @@ -87,7 +93,6 @@ #include "intreadwrite.h" #include "bswap.h" -#include #ifndef offsetof # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) #endif @@ -117,11 +122,6 @@ /* debug stuff */ -#if !defined(DEBUG) && !defined(NDEBUG) -# define NDEBUG -#endif -#include - /* dprintf macros */ #ifdef DEBUG # define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) -- cgit v1.2.3