about summary refs log tree commit diff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules b/Rules
index 41970234ae..956a2eb62e 100644
--- a/Rules
+++ b/Rules
@@ -206,7 +206,7 @@ $(stdio_lim:h=st): $(..)stdio-common/stdio_lim.h.in $(..)Rules \
 	$(CC) $(+includes) -E -dM -xc - -o $(@:st=hT)
 	echo '#include "$(..)misc/sys/uio.h"' |				\
 	SUNPRO_DEPENDENCIES='$(@:st=dT) $@'				\
-	$(CC) $(+includes) -E -dM -xc - | cat - >> $(@:st=hT)
+	$(CC) -D_LIBC=1 $(+includes) -E -dM -xc - | cat - >> $(@:st=hT)
 ifdef sed-remove-objpfx
 	sed $(sed-remove-objpfx) $(@:st=dT) > $(@:st=dt)
 	cat $(@:st=dt) >> $(@:st=d)