summaryrefslogtreecommitdiff
path: root/xmss_commons.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-26 17:42:56 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-26 17:42:56 +1100
commitc7ef4a399155e1621a532cc5e08e6fa773658dd4 (patch)
treea60a3cae4b79b287b6b6c00e06f3ecd6c4dfaef2 /xmss_commons.c
parentac53ce46cf8165cbda7f57ee045f9f32e1e92b31 (diff)
Wrap <stdint.h> in #ifdef HAVE_STDINT_H.
Diffstat (limited to 'xmss_commons.c')
-rw-r--r--xmss_commons.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmss_commons.c b/xmss_commons.c
index cf031f88..ff3ddb4a 100644
--- a/xmss_commons.c
+++ b/xmss_commons.c
@@ -10,7 +10,9 @@ Public domain.
#include "xmss_commons.h"
#include <stdlib.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)
{