dell-flash-unlock: Remove unnecessary includes for NetBSD
The pio.h header, although present on NetBSD, is not necessary, as it only declares x86 port IO inx()/outx() functions which are not actually implemented. Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>audit2-merge1
parent
ef77493c2c
commit
fce056587e
|
@ -8,12 +8,15 @@
|
|||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
#include <sys/types.h>
|
||||
#include <machine/sysarch.h>
|
||||
#endif /* __OpenBSD__ || __NetBSD__ */
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
#if defined(__amd64__)
|
||||
#include <amd64/pio.h>
|
||||
#elif defined(__i386__)
|
||||
#include <i386/pio.h>
|
||||
#endif /* __i386__ */
|
||||
#endif /* __OpenBSD__ || __NetBSD__ */
|
||||
#endif /* __OpenBSD__ */
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue