aboutsummaryrefslogtreecommitdiff
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
parentb8d4aa9c336304ccf4c58c770065289b076c37a7 (diff)
Include stddef.h for ptrdiff_t
-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) \