sonynwz: use os-native opendir() in the low-level input driver code

instead of the rockbox opendir() wrapper.

Change-Id: I06e8c2d7997c7cc3d507f06659d46cdfd6a02ce3
This commit is contained in:
Solomon Peachy 2020-10-17 14:22:02 -04:00
parent cd721754d0
commit 0e667ff5b0

View file

@ -17,6 +17,18 @@
* KIND, either express or implied.
*
****************************************************************************/
#include <poll.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <linux/input.h>
#include <dirent.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <system.h>
#include "button.h"
//#define LOGF_ENABLE
#include "logf.h"
@ -26,16 +38,6 @@
#include "nwz_keys.h"
#include "nwz_ts.h"
#include <poll.h>
#include <dir.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <linux/input.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <system.h>
/* device types */
#define DEV_KEY 0 /* icx_keys driver */