summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 18:04:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 18:04:29 +0000
commitb6e30b6f7ed3b5e63c82886b1c2a34e16877dc22 (patch)
tree4a68b015db57d27b246cf16ba80a494d6d19abf4 /regress/sys
parent05b7f5c07261ed4e3564bbc4a7fef062a0293f76 (diff)
Kill sys/cdefs.h includes, because overly complicated include+macro
for a sccsid replacement scheme which results an namespace damage is an unfair trade ok bluhm
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/pledge/execpromise/execpromise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/pledge/execpromise/execpromise.c b/regress/sys/kern/pledge/execpromise/execpromise.c
index 50ba587f364..d79a878e1cc 100644
--- a/regress/sys/kern/pledge/execpromise/execpromise.c
+++ b/regress/sys/kern/pledge/execpromise/execpromise.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: execpromise.c,v 1.1 2017/12/16 11:00:49 florian Exp $ */
+/* $OpenBSD: execpromise.c,v 1.2 2021/12/13 18:04:28 deraadt Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
*
@@ -15,7 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <err.h>