mirror of
https://github.com/minetest/minetest.git
synced 2024-09-27 15:00:30 +02:00
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 <errno.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
std::vector<DirListNode> GetDirListing(std::string pathstring)
|
std::vector<DirListNode> GetDirListing(std::string pathstring)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef GETTEXT_HEADER
|
#ifndef GETTEXT_HEADER
|
||||||
#include "config.h" // for USE_GETTEXT
|
#include "config.h" // for USE_GETTEXT
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <clocale>
|
||||||
|
|
||||||
#if USE_GETTEXT
|
#if USE_GETTEXT
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user