From: Guus Sliepen Date: Sun, 8 May 2011 21:12:44 +0000 (+0200) Subject: Include when using intptr_t. X-Git-Tag: import-tinc-1.1~540^2~1 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=0d906489f2ce9faf81dc230f7db6ab5378573554;p=meshlink Include when using intptr_t. --- diff --git a/lib/memcmp.c b/lib/memcmp.c index 8103e1a7..91049948 100644 --- a/lib/memcmp.c +++ b/lib/memcmp.c @@ -23,6 +23,10 @@ # include "config.h" #endif +#ifdef HAVE_INTTYPES_H +#include +#endif + #undef __ptr_t #if defined __cplusplus || (defined __STDC__ && __STDC__) # define __ptr_t void *