aboutsummaryrefslogtreecommitdiff
path: root/siphash.c
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2022-07-28 11:55:01 +0200
committerGitHub <noreply@github.com>2022-07-28 11:55:01 +0200
commit8ec5fcaa47345248011538fa448d1d558329981c (patch)
treead32dd50f65363c8bd7b27668d6441a2362429b7 /siphash.c
parentRename `DEBUG` to `DEBUG_SIPHASH` (diff)
parentMerge pull request #41 from noocsharp/master (diff)
downloadsiphash-8ec5fcaa47345248011538fa448d1d558329981c.tar.gz
siphash-8ec5fcaa47345248011538fa448d1d558329981c.tar.xz
Merge branch 'master' into rename-debug-symbol
Diffstat (limited to 'siphash.c')
-rw-r--r--siphash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/siphash.c b/siphash.c
index 8678e33..083ca19 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,8 @@
} while (0)
#ifdef DEBUG_SIPHASH
+#include <stdio.h>
+
#define TRACE \
do { \
printf("(%3zu) v0 %016" PRIx64 "\n", inlen, v0); \