summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-08-28 05:55:06 +0000
committerguenther <guenther@openbsd.org>2015-08-28 05:55:06 +0000
commit852196628ffbbcf56c255ee7791f67afe0f500ce (patch)
tree4fbd7e47d179fd8b353f7fe1520092825cca6fb7
parentThe PDE covering the APTE space should not confer exec permissions. (diff)
downloadwireguard-openbsd-852196628ffbbcf56c255ee7791f67afe0f500ce.tar.xz
wireguard-openbsd-852196628ffbbcf56c255ee7791f67afe0f500ce.zip
Add obviously missing #includes
-rw-r--r--regress/sys/kern/mquery/mquery.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/kern/mquery/mquery.c b/regress/sys/kern/mquery/mquery.c
index d40f87f46e4..d98b08e0b73 100644
--- a/regress/sys/kern/mquery/mquery.c
+++ b/regress/sys/kern/mquery/mquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mquery.c,v 1.2 2004/08/02 20:18:50 drahn Exp $ */
+/* $OpenBSD: mquery.c,v 1.3 2015/08/28 05:55:06 guenther Exp $ */
/*
* Copyright (c) 2003 Dale Rahn. All rights reserved.
@@ -27,6 +27,8 @@
#include <sys/types.h>
#include <sys/mman.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <machine/vmparam.h>