Fix build on GNU/Linux with EKOPath (setlocale, fork/execv/_exit).

This commit is contained in:
Merkil 2011-09-22 18:59:59 +02:00
parent 7244f09111
commit ff6e4b95b8
2 changed files with 2 additions and 0 deletions

View File

@ -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)
{

View File

@ -1,6 +1,7 @@
#ifndef GETTEXT_HEADER
#include "config.h" // for USE_GETTEXT
#include <iostream>
#include <clocale>
#if USE_GETTEXT
#include <libintl.h>