diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2013-07-18 17:10:54 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-07-18 21:24:57 -0700 |
commit | bfa0b8acabcdce7883ced9fc9ce867792c3e5547 (patch) | |
tree | 302325bacaa1b40e2182eb32bf319dd57c121e0b /libglusterfs/src | |
parent | 279629f6b15a4849ce1fad92b98f0d3c88c671f4 (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:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
Backport of I3f124466f7f7742e94a9d1256bc9239ec16aab04
BUG: 764655
Change-Id: I92c79dfd439f41bfa2a970c16c13a60ea6baa2f8
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/5342
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 112925207d6..b597534eb51 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" |