summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/posix_spawn.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/gen/posix_spawn.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/gen/posix_spawn.c')
-rw-r--r--lib/libc/gen/posix_spawn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
index bd056027b6e..dd175e6582f 100644
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: posix_spawn.c,v 1.6 2014/11/14 23:26:34 jmatthew Exp $ */
+/* $OpenBSD: posix_spawn.c,v 1.7 2015/09/10 18:13:46 guenther Exp $ */
/*-
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include "namespace.h"
#include <sys/queue.h>
#include <errno.h>