shithub: dav1d

Download patch

ref: b12445523d5c683311fb4957f04365082f7e9f96
parent: 86039b3b1c614d2bec321c8bd45fb7d2d4b6d17d
author: Marvin Scholz <epirat07@gmail.com>
date: Sat Sep 29 15:46:48 EDT 2018

Fix include order of config.h

--- a/src/cpu.c
+++ b/src/cpu.c
@@ -24,10 +24,10 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+#include "config.h"
 
 #include <stdint.h>
 
-#include "config.h"
 #include "src/cpu.h"
 
 static unsigned flags_mask = -1;
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -24,6 +24,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+#include "tests/checkasm/checkasm.h"
 
 #include <math.h>
 #include <stdarg.h>
@@ -32,8 +33,6 @@
 #include <time.h>
 
 #include "src/cpu.h"
-
-#include "tests/checkasm/checkasm.h"
 
 #ifdef _WIN32
 #include <windows.h>
--- a/tests/checkasm/mc.c
+++ b/tests/checkasm/mc.c
@@ -25,10 +25,9 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "tests/checkasm/checkasm.h"
 #include "src/levels.h"
 #include "src/mc.h"
-
-#include "tests/checkasm/checkasm.h"
 
 static const char *const filter_names[] = {
     "8tap_regular",        "8tap_regular_smooth", "8tap_regular_sharp",