summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-06-15 09:45:23 +0200
committerAnand Avati <avati@redhat.com>2012-07-05 11:28:31 -0700
commitd98068a71b63330180281e09347c02d69213c2aa (patch)
treea3b2ad595f409fd520cb03033b83d8faed8c0519 /xlators
parentd3f1007400735812c88353ed6b0a49d9d4d2c7b2 (diff)
NetBSD build fixes.
This is a backport of Change-Id: Ib8183d4b585465d05a7adf3a4ceae93ae1bded15 BUG: 764655 Change-Id: I552b87b72c234b3a11af6ffd4a03975879602363 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3574 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-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 438451a4450..9c598ce668e 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 6f6e1dd31f7..0baab966dc5 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"