]> granicus.if.org Git - psmisc/commitdiff
define PATH_MAX for freebsd
authorCraig Small <csmall@enc.com.au>
Tue, 3 Jun 2014 12:04:49 +0000 (22:04 +1000)
committerCraig Small <csmall@enc.com.au>
Tue, 3 Jun 2014 12:04:49 +0000 (22:04 +1000)
ChangeLog
src/pstree.c

index 1c885229473ff16d0afd872a8a7fdc2eb1dc59e4..61d77548335415fc48783f12f9e702f5c87c6ff7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Changes in 22.22
        * Fixed typo in fuser which has -M on Debian #740275
        * pstree by default doesn't show threadnames, use -t to show
          as it disables compaction. SF Patch#33
+       * PATH_MAX defined in pstree for FreeBSD Debian #750405
 
 Changes in 22.21
 ================
index 6d6e8db23b024045f5b5819995db4306931880e8..b5b71cde7e73cf5d3954a71116589f340a325bbe 100644 (file)
 #include "i18n.h"
 #include "comm.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif /* PATH_MAX */
+
 #ifdef WITH_SELINUX
 #include <selinux/selinux.h>
 #else