Include <inttypes.h> when using intptr_t.

This commit is contained in:
Guus Sliepen 2011-05-08 23:12:44 +02:00
parent dc887f5011
commit 0d906489f2

View file

@ -23,6 +23,10 @@
# include "config.h"
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#undef __ptr_t
#if defined __cplusplus || (defined __STDC__ && __STDC__)
# define __ptr_t void *