Include <stdint.h> in glib/valgrind.h
authorHib Eris <hib@hiberis.nl>
Mon, 22 Sep 2014 20:37:43 +0000 (22:37 +0200)
committerColin Walters <walters@verbum.org>
Tue, 23 Sep 2014 13:08:16 +0000 (09:08 -0400)
commite1b84e3296c1ab0cba29ce2114505ae9f5002cae
tree038f40b4bcc8ea7a45bf97ef9fdb0f0cc4ba7e1f
parentf5ed7d2d3e26d7b06c5aac4ef38f5eb995289a59
Include <stdint.h> in glib/valgrind.h

This ensures the uintptr_t type is defined on mingw-w64.

Fixes compile error:

make[4]: Entering directory
`/home/abuild/rpmbuild/BUILD/glib-2.42.0/gobject'
  CC       libgobject_2_0_la-gtype.lo
In file included from gtype.c:24:0:
../glib/valgrind.h: In function 'VALGRIND_PRINTF':
../glib/valgrind.h:5601:4: error: unknown type name 'uintptr_t'
    uintptr_t _qzz_res;
    ^

https://bugzilla.gnome.org/show_bug.cgi?id=737143
glib/valgrind.h