From: Gunnar Beutner Date: Tue, 2 Sep 2014 15:27:16 +0000 (+0200) Subject: Build fix for GNU Hurd X-Git-Tag: v2.1.1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4da18d6de1b064f12acf3a47ea2bce1ce50445a0;p=icinga2 Build fix for GNU Hurd --- 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 */