From 0d906489f2ce9faf81dc230f7db6ab5378573554 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 8 May 2011 23:12:44 +0200 Subject: [PATCH] Include when using intptr_t. --- lib/memcmp.c | 4 ++++ 1 file changed, 4 insertions(+) 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 * -- 2.39.5