summaryrefslogtreecommitdiff
path: root/lib/libutil/getrawpartition.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:54:21 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:54:21 +0000
commitab955f9e02fcffd313130f5863b47e1d6990c906 (patch)
tree5ee99bb87e0fbda9eda21adfb662558614c48525 /lib/libutil/getrawpartition.c
parentfce464d984c43e6f9b5f333bf2239d604bce2cd7 (diff)
Pull in <stdio.h> for NULL
ok deraadt@
Diffstat (limited to 'lib/libutil/getrawpartition.c')
-rw-r--r--lib/libutil/getrawpartition.c3
1 files changed, 2 insertions, 1 deletions
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"