Define PATH_MAX if the system does not.
authordrepper <drepper>
Sun, 13 Dec 1998 14:57:54 +0000 (14:57 +0000)
committerdrepper <drepper>
Sun, 13 Dec 1998 14:57:54 +0000 (14:57 +0000)
stdlib/test-canon.c

index d06ec4d..c8be8d2 100644 (file)
@@ -28,6 +28,9 @@
 #include <unistd.h>
 #include <sys/param.h>
 
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
 static char    cwd[PATH_MAX];
 static size_t  cwd_len;