]> granicus.if.org Git - icinga2/commitdiff
Build fix for GNU Hurd
authorGunnar Beutner <gunnar@beutner.name>
Tue, 2 Sep 2014 15:27:16 +0000 (17:27 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 2 Sep 2014 15:27:16 +0000 (17:27 +0200)
lib/base/unix.hpp

index 4a4197cbc377f82901fca3c699afb5de15e57e36..d4dcabcace5888b19c8b6e0d13b1ce71fc777c85 100644 (file)
@@ -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 */