src.ctf.lttng-live: add comments and debug statements
[babeltrace.git] / src / compat / limits.h
index be54499a5f764659ffdf3105da4e3f2541d0b627..c51c29290de20ceaf97638b19da7e071e4597cf0 100644 (file)
@@ -15,6 +15,8 @@
 
 #elif defined(__FreeBSD__)
 
+#include <sys/param.h>
+
 #define BABELTRACE_HOST_NAME_MAX MAXHOSTNAMELEN
 
 #elif defined(_POSIX_HOST_NAME_MAX)
@@ -27,4 +29,9 @@
 
 #endif /* __linux__, __FreeBSD__, _POSIX_HOST_NAME_MAX */
 
+/* GNU Hurd has no PATH_MAX, use a sensible default */
+#ifdef __GNU__
+#define PATH_MAX 4096
+#endif /* __GNU__ */
+
 #endif /* _BABELTRACE_LIMITS_H */
This page took 0.035095 seconds and 4 git commands to generate.