fix compiler errors which caused by support of freebsd

This commit is contained in:
Jinhao
2018-05-21 17:07:24 +08:00
parent da70334459
commit 26ce77ded5
2 changed files with 18 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ static void posix_open_url(const char *url_utf8)
const char *home = getenv("HOME");
std::string cheat(home);
cheat += "/.mozilla";
struct stat exists{};
struct stat exists;
// TODO: generalize this for chromium, opera, waterfox, etc.
// Most desktop environments (KDE, Gnome, Lumina etc.) provide a way to set