aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--halfsiphash.c3
-rw-r--r--siphash.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/halfsiphash.c b/halfsiphash.c
index a2f5876..dacfc8e 100644
--- a/halfsiphash.c
+++ b/halfsiphash.c
@@ -15,8 +15,8 @@
*/
#include "halfsiphash.h"
#include <assert.h>
+#include <stddef.h>
#include <stdint.h>
-#include <stdio.h>
/* default: SipHash-2-4 */
#ifndef cROUNDS
@@ -57,6 +57,7 @@
} while (0)
#ifdef DEBUG
+#include <stdio.h>
#define TRACE \
do { \
printf("(%3zu) v0 %08" PRIx32 "\n", inlen, v0); \
diff --git a/siphash.c b/siphash.c
index 003eb5b..854c6ce 100644
--- a/siphash.c
+++ b/siphash.c
@@ -17,8 +17,8 @@
#include "siphash.h"
#include <assert.h>
+#include <stddef.h>
#include <stdint.h>
-#include <stdio.h>
/* default: SipHash-2-4 */
#ifndef cROUNDS
@@ -65,6 +65,7 @@
} while (0)
#ifdef DEBUG
+#include <stdio.h>
#define TRACE \
do { \
printf("(%3zu) v0 %016" PRIx64 "\n", inlen, v0); \