summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-10 18:13:46 +0000
committerguenther <guenther@openbsd.org>2015-09-10 18:13:46 +0000
commite6f98e3a163d69d2a20131b8c80e6fad49fe7683 (patch)
tree5ab5a47b62d9d534bee925c48d67d4c5031e09a1 /lib/libc/stdlib/hcreate.c
parentWhen loading a DSA key from an raw (without DH parameters) ASN.1 serialization, (diff)
downloadwireguard-openbsd-e6f98e3a163d69d2a20131b8c80e6fad49fe7683.tar.xz
wireguard-openbsd-e6f98e3a163d69d2a20131b8c80e6fad49fe7683.zip
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/hcreate.c')
-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>