So define something reasonable in this case

Signed-off-by: Steve Bennett <[email protected]>
---
 pathtrace.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pathtrace.c b/pathtrace.c
index b2efd33..553fef7 100644
--- a/pathtrace.c
+++ b/pathtrace.c
@@ -40,6 +40,10 @@
 
 #include "syscall.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 #define MAXSELECTED  256       /* max number of "selected" paths */
 static const char *selected[MAXSELECTED];      /* paths selected for tracing */
 
-- 
1.7.5.4


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to