Browse Source

Pull in <stdio.h> for NULL

ok deraadt@
OPENBSD_6_1
guenther 8 years ago
parent
commit
b73a72cf6b
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      src/lib/libutil/getmaxpartitions.c
  2. +2
    -1
      src/lib/libutil/getrawpartition.c

+ 2
- 1
src/lib/libutil/getmaxpartitions.c View File

@ -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"


+ 2
- 1
src/lib/libutil/getrawpartition.c View File

@ -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"


Loading…
Cancel
Save