summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 03:54:20 +0000
committerguenther <guenther@openbsd.org>2016-08-27 03:54:20 +0000
commit07c8d4583e0ee8630e8ac5d4da5166bed73fa34c (patch)
treeaf39936a542a2ec50d5168304fef9beedfd53863 /lib/libutil
parentPull in <stddef.h> for NULL (diff)
downloadwireguard-openbsd-07c8d4583e0ee8630e8ac5d4da5166bed73fa34c.tar.xz
wireguard-openbsd-07c8d4583e0ee8630e8ac5d4da5166bed73fa34c.zip
Pull in <stdio.h> for NULL
ok deraadt@
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/getmaxpartitions.c3
-rw-r--r--lib/libutil/getrawpartition.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/getmaxpartitions.c b/lib/libutil/getmaxpartitions.c
index 574b6c6e00d..22f3c8d3cc6 100644
--- a/lib/libutil/getmaxpartitions.c
+++ b/lib/libutil/getmaxpartitions.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getmaxpartitions.c,v 1.8 2014/06/30 00:26:22 deraadt Exp $ */
+/* $OpenBSD: getmaxpartitions.c,v 1.9 2016/08/27 03:54:20 guenther Exp $ */
/* $NetBSD: getmaxpartitions.c,v 1.1 1996/05/16 07:03:31 thorpej Exp $ */
/*-
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
+#include <stdio.h> /* for NULL */
#include "util.h"
diff --git a/lib/libutil/getrawpartition.c b/lib/libutil/getrawpartition.c
index 1363804cb6e..10324472bd2 100644
--- a/lib/libutil/getrawpartition.c
+++ b/lib/libutil/getrawpartition.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getrawpartition.c,v 1.8 2014/06/30 00:26:22 deraadt Exp $ */
+/* $OpenBSD: getrawpartition.c,v 1.9 2016/08/27 03:54:20 guenther Exp $ */
/* $NetBSD: getrawpartition.c,v 1.1 1996/05/16 07:03:33 thorpej Exp $ */
/*-
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
+#include <stdio.h> /* for NULL */
#include "util.h"