mirror of https://github.com/minetest/minetest.git
Fix build on GNU/Linux with EKOPath (setlocale, fork/execv/_exit).
This commit is contained in:
parent
7244f09111
commit
ff6e4b95b8
|
@ -171,6 +171,7 @@ bool RecursiveDelete(std::string path)
|
|||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
std::vector<DirListNode> GetDirListing(std::string pathstring)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef GETTEXT_HEADER
|
||||
#include "config.h" // for USE_GETTEXT
|
||||
#include <iostream>
|
||||
#include <clocale>
|
||||
|
||||
#if USE_GETTEXT
|
||||
#include <libintl.h>
|
||||
|
|
Loading…
Reference in New Issue