Compile fixes for GNU/Hurd systems.

Define PATH_MAX if it's not defined and the compiler defines __GNU__.
This commit is contained in:
Jordi Mallach 2016-07-26 02:37:33 +02:00
parent e1464ffd64
commit c64f05279c

View file

@ -60,6 +60,12 @@
#include <utime.h>
#endif
#ifdef __GNU__
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
#endif
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>