summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zix/thread.h2
-rw-r--r--zix/trie_util.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/zix/thread.h b/zix/thread.h
index b7956d2..3989f13 100644
--- a/zix/thread.h
+++ b/zix/thread.h
@@ -26,7 +26,7 @@
# include <pthread.h>
#endif
-#include <stdbool.h>
+#include <stddef.h>
#ifdef __cplusplus
extern "C" {
diff --git a/zix/trie_util.h b/zix/trie_util.h
index ff125e1..6ac8b35 100644
--- a/zix/trie_util.h
+++ b/zix/trie_util.h
@@ -17,13 +17,16 @@
#ifndef ZIX_TRIE_UTIL_H
#define ZIX_TRIE_UTIL_H
-#include <assert.h>
-#include <stdint.h>
+#include "zix/common.h"
#ifdef __SSE4_2__
# include <smmintrin.h>
#endif
+#include <assert.h>
+#include <stddef.h>
+#include <stdint.h>
+
#ifdef ZIX_TRIE_LINEAR_SEARCH
/** Return the index of `k` in `keys`, or `n` if not found. */