summaryrefslogtreecommitdiffstats
path: root/lib/libutil/getmaxpartitions.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/getmaxpartitions.c')
-rw-r--r--lib/libutil/getmaxpartitions.c3
1 files changed, 2 insertions, 1 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"