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>
master
Nicholas Chin 2024-04-28 15:16:19 -06:00 committed by Leah Rowe
parent ef77493c2c
commit fce056587e
1 changed files with 4 additions and 1 deletions

View File

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