Build fix for GNU Hurd

This commit is contained in:
Gunnar Beutner 2014-09-02 17:27:16 +02:00
parent e00e56ecfe
commit 4da18d6de1
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ typedef int SOCKET;
#define closesocket close #define closesocket close
#define ioctlsocket ioctl #define ioctlsocket ioctl
#ifndef PATH_MAX
# define PATH_MAX 1024
#endif /* PATH_MAX */
#ifndef MAXPATHLEN #ifndef MAXPATHLEN
# define MAXPATHLEN PATH_MAX # define MAXPATHLEN PATH_MAX
#endif /* MAXPATHLEN */ #endif /* MAXPATHLEN */