projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sparse warnings and add an extra sprinkling of const.
[tinc]
/
lib
/
memcmp.c
diff --git
a/lib/memcmp.c
b/lib/memcmp.c
index
8103e1a
..
9104994
100644
(file)
--- a/
lib/memcmp.c
+++ b/
lib/memcmp.c
@@
-23,6
+23,10
@@
# include "config.h"
#endif
# 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 *
#undef __ptr_t
#if defined __cplusplus || (defined __STDC__ && __STDC__)
# define __ptr_t void *