Include <inttypes.h> when using intptr_t.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 8 May 2011 21:12:44 +0000 (23:12 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 8 May 2011 21:12:44 +0000 (23:12 +0200)
lib/memcmp.c

index 8103e1a7ff53f097faca1ec5e94089a676a83e9e..910499484d47029f3e6f5e898a636a868c809152 100644 (file)
 # 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 *