Fix build error when compiling with mingw

uintptr_t must be defined when including valgrind.h, just move it as
last include solves the problem.

https://bugzilla.gnome.org/show_bug.cgi?id=796283
This commit is contained in:
Xavier Claessens
2018-05-20 22:52:13 -04:00
committed by Nirbheek Chauhan
parent d89c8894a8
commit 00178f8c8e
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,6 @@
#include "config.h"
#include "../glib/valgrind.h"
#include <string.h>
#include <ffi.h>
@@ -35,6 +34,7 @@
#include "gvaluetypes.h"
#include "gtype-private.h"
#include "../glib/valgrind.h"
/**
* SECTION:gclosure