diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 03:54:21 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 03:54:21 +0000 |
commit | ab955f9e02fcffd313130f5863b47e1d6990c906 (patch) | |
tree | 5ee99bb87e0fbda9eda21adfb662558614c48525 /lib | |
parent | fce464d984c43e6f9b5f333bf2239d604bce2cd7 (diff) |
Pull in <stdio.h> for NULL
ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libutil/getmaxpartitions.c | 3 | ||||
-rw-r--r-- | lib/libutil/getrawpartition.c | 3 |
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" |