summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-07-06 16:53:35 +0200
committerAnand Avati <avati@redhat.com>2012-07-13 14:08:22 -0700
commit74d7d2d53c539c822cf7b6da44a515f1e326c5bc (patch)
tree0829ae1fd01e0639bb00110ac6075f3774f34c36 /xlators/features
parente14095fbbe5c410863ffca865803762dd8cf6e87 (diff)
NetBSD build fixes
This is a backport of Change-Id: Icd7290f1e340675d763665a0d0c5f95bc14e0c55 BUG: 764655 Change-Id: Iaca3dc30e61c0864af673b90d2a7fdea6a3143cc Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3577 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/marker/utils/src/procdiggy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/src/procdiggy.h b/xlators/features/marker/utils/src/procdiggy.h
index f4586de6c67..ee87b0e3916 100644
--- a/xlators/features/marker/utils/src/procdiggy.h
+++ b/xlators/features/marker/utils/src/procdiggy.h
@@ -17,6 +17,10 @@
<http://www.gnu.org/licenses/>.
*/
+#ifdef __NetBSD__
+#include <sys/syslimits.h>
+#endif /* __NetBSD__ */
+
#define PROC "/proc"
pid_t pidinfo (pid_t pid, char **name);