cluster: master - cman: explicitly include limits.h
Fabio M. Di Nitto
fabbione@fedoraproject.org
Thu May 28 13:18:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=752ec0decd9c79f0391b49db273feef1224a4d47
Commit: 752ec0decd9c79f0391b49db273feef1224a4d47
Parent: 8be9dd0985a6c528396503c899bfab306e3c044c
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Thu May 28 15:17:17 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu May 28 15:17:17 2009 +0200
cman: explicitly include limits.h
this is required on newer glibc/kernel versions.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
cman/tests/sysman.c | 1 +
cman/tests/sysmand.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cman/tests/sysman.c b/cman/tests/sysman.c
index 028c030..afa8e8b 100644
--- a/cman/tests/sysman.c
+++ b/cman/tests/sysman.c
@@ -15,6 +15,7 @@
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
+#include <limits.h>
#define LOCAL_SOCKNAME "/var/run/sysman"
static int open_local_sock(void);
diff --git a/cman/tests/sysmand.c b/cman/tests/sysmand.c
index 293e0f7..112526d 100644
--- a/cman/tests/sysmand.c
+++ b/cman/tests/sysmand.c
@@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
+#include <limits.h>
#include "libcman.h"
#define LOCAL_SOCKNAME "/var/run/sysman"
More information about the Cluster-cvs
mailing list