mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
Move up the <stdio.h> include so <dev/pci/*.h> have NULL
ok deraadt@
This commit is contained in:
parent
38f718e5b6
commit
71073a546a
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pcidump.c,v 1.39 2015/12/01 19:10:09 kettenis Exp $ */
|
||||
/* $OpenBSD: pcidump.c,v 1.40 2016/08/27 04:38:48 guenther Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
|
||||
@ -20,6 +20,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/pciio.h>
|
||||
|
||||
#include <stdio.h> /* need NULL for <dev/pci/*.h> */
|
||||
|
||||
#include <dev/pci/pcireg.h>
|
||||
#include <dev/pci/pcidevs.h>
|
||||
#include <dev/pci/pcidevs_data.h>
|
||||
@ -28,7 +30,6 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <paths.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user