summaryrefslogtreecommitdiffstats
path: root/newlib/libc/search
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/search')
-rw-r--r--newlib/libc/search/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/search/hash.h b/newlib/libc/search/hash.h
index db9e96dd8..6491814d6 100644
--- a/newlib/libc/search/hash.h
+++ b/newlib/libc/search/hash.h
@@ -38,6 +38,8 @@
*/
#include <sys/param.h>
+#define __need_size_t
+#include <stddef.h>
/* Check that newlib understands the byte order of its target system. */
#ifndef BYTE_ORDER