Commit c0f44e50 authored by mstorsjo's avatar mstorsjo

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5ee12e2b
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
* Checks for AltiVec presence. * Checks for AltiVec presence.
*/ */
#include "config.h"
#include "dsputil_altivec.h"
#ifdef __APPLE__ #ifdef __APPLE__
#undef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE
#include <sys/sysctl.h> #include <sys/sysctl.h>
...@@ -38,6 +35,9 @@ ...@@ -38,6 +35,9 @@
#include <proto/exec.h> #include <proto/exec.h>
#endif /* __APPLE__ */ #endif /* __APPLE__ */
#include "config.h"
#include "dsputil_altivec.h"
/** /**
* This function MAY rely on signal() or fork() in order to make sure AltiVec * This function MAY rely on signal() or fork() in order to make sure AltiVec
* is present. * is present.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment