aboutsummaryrefslogtreecommitdiff
path: root/tools/build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/Makefile')
-rw-r--r--tools/build/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 1eb539f06607..161b8f635c6d 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -99,6 +99,9 @@ SYSINCS+= stat.h
SRCS+= futimens.c utimensat.c
.endif
+# Define ptraddr_t for bootstrapping
+INCS+= stddef.h
+
_WITH_EXPLICIT_BZERO!= cat ${HOST_INCLUDE_ROOT}/strings.h ${HOST_INCLUDE_ROOT}/string.h | grep -c explicit_bzero || true
.if ${_WITH_EXPLICIT_BZERO} == 0
# .PATH: ${SRCTOP}/sys/libkern