From 6fe2482fdf035abf4bfb076801aef314fe70776c Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sun, 28 Apr 2024 15:16:19 -0600 Subject: 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 --- util/dell-flash-unlock/accessors.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/dell-flash-unlock') diff --git a/util/dell-flash-unlock/accessors.c b/util/dell-flash-unlock/accessors.c index a5f936c8..a8541e28 100644 --- a/util/dell-flash-unlock/accessors.c +++ b/util/dell-flash-unlock/accessors.c @@ -8,12 +8,15 @@ #if defined(__OpenBSD__) || defined(__NetBSD__) #include #include +#endif /* __OpenBSD__ || __NetBSD__ */ + +#if defined(__OpenBSD__) #if defined(__amd64__) #include #elif defined(__i386__) #include #endif /* __i386__ */ -#endif /* __OpenBSD__ || __NetBSD__ */ +#endif /* __OpenBSD__ */ #include -- cgit v1.2.1