From 0e667ff5b0e3b7373609e9c438f69d8b12b33967 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 17 Oct 2020 14:22:02 -0400 Subject: [PATCH] sonynwz: use os-native opendir() in the low-level input driver code instead of the rockbox opendir() wrapper. Change-Id: I06e8c2d7997c7cc3d507f06659d46cdfd6a02ce3 --- firmware/target/hosted/sonynwz/button-nwz.c | 22 +++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/firmware/target/hosted/sonynwz/button-nwz.c b/firmware/target/hosted/sonynwz/button-nwz.c index f85a4be496..05d72f6358 100644 --- a/firmware/target/hosted/sonynwz/button-nwz.c +++ b/firmware/target/hosted/sonynwz/button-nwz.c @@ -17,6 +17,18 @@ * KIND, either express or implied. * ****************************************************************************/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include "button.h" //#define LOGF_ENABLE #include "logf.h" @@ -26,16 +38,6 @@ #include "nwz_keys.h" #include "nwz_ts.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include /* device types */ #define DEV_KEY 0 /* icx_keys driver */