Include <inttypes.h> when using intptr_t.
This commit is contained in:
parent
dc887f5011
commit
0d906489f2
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_INTTYPES_H
|
||||||
|
#include <inttypes.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef __ptr_t
|
#undef __ptr_t
|
||||||
#if defined __cplusplus || (defined __STDC__ && __STDC__)
|
#if defined __cplusplus || (defined __STDC__ && __STDC__)
|
||||||
# define __ptr_t void *
|
# define __ptr_t void *
|
||||||
|
|
Loading…
Reference in a new issue