aboutsummaryrefslogtreecommitdiff
path: root/include/search.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/search.h')
-rw-r--r--include/search.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/search.h b/include/search.h
index f0ef44357533..c899762f3a34 100644
--- a/include/search.h
+++ b/include/search.h
@@ -10,11 +10,11 @@
#define _SEARCH_H_
#include <sys/cdefs.h>
-#include <machine/ansi.h>
+#include <sys/_types.h>
-#ifdef _BSD_SIZE_T_
-typedef _BSD_SIZE_T_ size_t;
-#undef _BSD_SIZE_T_
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
#endif
typedef struct entry {