Merge branch 'experimental_host_fst' into 'experimental'

fix up linux compile errors

this should fix most of the linux compile errors.

See merge request !2
This commit is contained in:
Dagen Brock 2017-01-20 10:56:26 -06:00
commit 1748c6d5bf

View File

@ -10,6 +10,7 @@
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <time.h>
#include "defc.h"
#include "gsos.h"
@ -21,6 +22,11 @@
#include <sys/paths.h>
#endif
#ifdef __linux__
#include <sys/xattr.h>
#endif
#if defined(_WIN32) || defined(WIN_SDL)
#include <io.h>
@ -157,6 +163,8 @@ static word32 map_errno() {
return pathNotFound;
case ENOMEM:
return outOfMem;
case EEXIST:
return dupPathname;
default:
return drvrIOError;
}