path: root/libglusterfs
diff options
authorEmmanuel Dreyfus <>2013-07-18 11:13:08 +0200
committerAnand Avati <>2013-07-18 07:58:51 -0700
commitdeb19de9f613611b374b1ff4d0f3a83079604c5a (patch)
treec33234f4d4817a3a300f54acc4c324c084a009cc /libglusterfs
parent15e11cfa1dec9cafd5a9039da7a43e9c02b19d98 (diff)
include <limits.h> for PATH_MAX
I need to include <limits.h> in order to use PATH_MAX, Otherwise it will not build at mine. I believe it is standard compliant to do so: BUG: 764655 Change-Id: I3f124466f7f7742e94a9d1256bc9239ec16aab04 Signed-off-by: Emmanuel Dreyfus <> Reviewed-on: Reviewed-by: Kaleb KEITHLEY <> Reviewed-by: Jeff Darcy <> Tested-by: Gluster Build System <>
Diffstat (limited to 'libglusterfs')
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 797085c1..8643d756 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -32,6 +32,7 @@
#include <arpa/inet.h>
#include <sys/poll.h>
#include <pthread.h>
+#include <limits.h> /* For PATH_MAX */
#include "list.h"
#include "logging.h"