summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-04-27 11:41:14 +0200
committerVijay Bellur <vijay@gluster.com>2012-05-11 00:41:24 -0700
commit8c4bf91025e2bf510a56f5789594beceb3c3827c (patch)
tree153dc2c2dcf15d80401c8193b3fda919512cb06a /xlators/features
parent511f99b88d0e1b2962b3b5bbddf722ad07d15575 (diff)
NetBSD build fixes
Change-Id: Ib8183d4b585465d05a7adf3a4ceae93ae1bded15 BUG: 764655 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3238 Reviewed-by: Amar Tumballi <amarts@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/marker/utils/src/gsyncd.c2
-rw-r--r--xlators/features/marker/utils/src/procdiggy.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/src/gsyncd.c b/xlators/features/marker/utils/src/gsyncd.c
index 24de4096f8b..b5263c7287c 100644
--- a/xlators/features/marker/utils/src/gsyncd.c
+++ b/xlators/features/marker/utils/src/gsyncd.c
@@ -27,6 +27,8 @@
#include <stdio.h>
#include <unistd.h>
#include <string.h>
+#include <sys/param.h> /* for PATH_MAX */
+
#include "common-utils.h"
#include "run.h"
diff --git a/xlators/features/marker/utils/src/procdiggy.c b/xlators/features/marker/utils/src/procdiggy.c
index e5f9af7b614..18296a47945 100644
--- a/xlators/features/marker/utils/src/procdiggy.c
+++ b/xlators/features/marker/utils/src/procdiggy.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <string.h>
#include <ctype.h>
+#include <sys/param.h> /* for PATH_MAX */
#include "common-utils.h"
#include "procdiggy.h"