# HG changeset patch # User mru # Date 1184423680 0 # Node ID 4d3f4347b71868ecd66701098b45a0cce7dae019 # Parent 7f9e8e77c86bbf35e468d6b752915a1310e6b412 move #include of system headers to top of file diff -r 7f9e8e77c86b -r 4d3f4347b718 internal.h --- a/internal.h Sat Jul 14 11:33:16 2007 +0000 +++ b/internal.h Sat Jul 14 14:34:40 2007 +0000 @@ -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__)