summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-10 18:13:47 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-10 18:13:47 +0000
commit9d92f0e0d037b4a80516f5599149f8029e742fcf (patch)
treeabfe1b094a6bb7ba5b358aa91df5edcde8e47e75 /lib/libc/stdlib
parent0a3cd2f44990ff43d60121278b611e9c1003d379 (diff)
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@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/hcreate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/hcreate.c b/lib/libc/stdlib/hcreate.c
index d0a377010ed..cb547a8d36d 100644
--- a/lib/libc/stdlib/hcreate.c
+++ b/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 <assert.h>
#include <errno.h>
#include <stdint.h>