aboutsummaryrefslogtreecommitdiff
path: root/include/__bsearch.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-01 16:03:03 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-01 16:03:03 +0200
commit436969300bbc0a70179afab252d4dd1a8462febc (patch)
treea1dd7d715e4abd14d4f51ec252d23c59e8b63ba6 /include/__bsearch.h
parentb8d4aa9c336304ccf4c58c770065289b076c37a7 (diff)
Include stddef.h for ptrdiff_t
Diffstat (limited to 'include/__bsearch.h')
-rw-r--r--include/__bsearch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/__bsearch.h b/include/__bsearch.h
index 3a59f36..e6b181b 100644
--- a/include/__bsearch.h
+++ b/include/__bsearch.h
@@ -1,3 +1,5 @@
+#include <stddef.h>
+
#include "macros.h"
#define __MLIB_DEFINE_BSEARCH(TYPE, TABLE, DEFAULT) \