From 02ef5130b75420dafeb08c3d974bc23777be133d Mon Sep 17 00:00:00 2001 From: guenther <> Date: Thu, 10 Sep 2015 18:13:46 +0000 Subject: [PATCH] Pull in namespace.h when building all .c files using gcc's -include option, so that we can provide asm labels for the memcpy/memset/__stack_smash_handler calls that it generates ab initio. Eliminate direct #includes of it. Make sure it's a dependency of all objects (unnecessary for asm, but close enough). ok deraadt@ --- src/lib/libc/stdlib/hcreate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/libc/stdlib/hcreate.c b/src/lib/libc/stdlib/hcreate.c index d0a37701..cb547a8d 100644 --- a/src/lib/libc/stdlib/hcreate.c +++ b/src/lib/libc/stdlib/hcreate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hcreate.c,v 1.5 2014/08/10 02:15:18 guenther Exp $ */ +/* $OpenBSD: hcreate.c,v 1.6 2015/09/10 18:13:46 guenther Exp $ */ /* $NetBSD: hcreate.c,v 1.5 2004/04/23 02:48:12 simonb Exp $ */ /* @@ -47,7 +47,6 @@ * nobody had a copy in the office, so... */ -#include "namespace.h" #include #include #include