diff options
author | Martin Storsjö <martin@martin.st> | 2010-03-08 15:12:36 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-03-08 15:12:36 +0000 |
commit | b81786611acde7a9cc7f3a71ed41945cd6df2548 (patch) | |
tree | 920257249db45c1c9f034e67b81bf0eee9900bf9 /libavcodec/ppc | |
parent | 88b51ea9483bca1fa21795d07677d733e1f6a042 (diff) | |
download | ffmpeg-b81786611acde7a9cc7f3a71ed41945cd6df2548.tar.gz |
Move the local includes below the system includes
This fixes a compilation issue on OS X 10.4, where some system headers were
included implicitly through dsputil_altivec.h (with _POSIX_C_SOURCE defined),
and other system headers included later, with _POSIX_C_SOURCE undefined at
that time.
Originally committed as revision 22327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/check_altivec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ppc/check_altivec.c b/libavcodec/ppc/check_altivec.c index 445fa1e879..f2c923edb4 100644 --- a/libavcodec/ppc/check_altivec.c +++ b/libavcodec/ppc/check_altivec.c @@ -22,9 +22,6 @@ * Checks for AltiVec presence. */ -#include "config.h" -#include "dsputil_altivec.h" - #ifdef __APPLE__ #undef _POSIX_C_SOURCE #include <sys/sysctl.h> @@ -38,6 +35,9 @@ #include <proto/exec.h> #endif /* __APPLE__ */ +#include "config.h" +#include "dsputil_altivec.h" + /** * This function MAY rely on signal() or fork() in order to make sure AltiVec * is present. |