file_browser.c - remove #include <string.h>

It is no longer necessary, since string comparison is now carried out by Nuklear API.
This commit is contained in:
crazyBaboon 2022-04-13 22:44:14 +01:00 committed by GitHub
parent e5c44b7182
commit f58114e45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,12 @@
#ifdef __unix__
#include <dirent.h>
#include <unistd.h>
#endif
#ifndef _WIN32
# include <pwd.h>
#endif
struct icons {
struct nk_image desktop;
struct nk_image home;
@ -78,17 +87,6 @@ struct file_browser {
struct media *media;
};
#ifdef __unix__
#include <dirent.h>
#include <unistd.h>
#endif
#ifndef _WIN32
# include <pwd.h>
#endif
#include <string.h>
static void
die(const char *fmt, ...)
{