From 4da18d6de1b064f12acf3a47ea2bce1ce50445a0 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 2 Sep 2014 17:27:16 +0200 Subject: [PATCH] Build fix for GNU Hurd --- lib/base/unix.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/base/unix.hpp b/lib/base/unix.hpp index 4a4197cbc..d4dcabcac 100644 --- a/lib/base/unix.hpp +++ b/lib/base/unix.hpp @@ -48,6 +48,10 @@ typedef int SOCKET; #define closesocket close #define ioctlsocket ioctl +#ifndef PATH_MAX +# define PATH_MAX 1024 +#endif /* PATH_MAX */ + #ifndef MAXPATHLEN # define MAXPATHLEN PATH_MAX #endif /* MAXPATHLEN */ -- 2.40.0