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:
parent
e5c44b7182
commit
f58114e45e
@ -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, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user