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>
20240612_branch
Nicholas Chin 2024-04-28 15:16:19 -06:00
parent b737a24c90
commit 6fe2482fdf
No known key found for this signature in database
GPG Key ID: 2D0EB28C84678DAA
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>