[rds-devel] [PATCH rds-tools] include limits.h for LONG_MAX definition in options.c.

Vladimir Sokolovsky vlad at mellanox.co.il
Sun Sep 7 10:15:00 PDT 2008


Hi Andy,
The following patch fix rds-tools compilation issue on Fedora Core9:

include limits.h for LONG_MAX definition in options.c.

Signed-off-by: Vladimir Sokolovsky <vlad at mellanox.co.il>
---
  options.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/options.c b/options.c
index 53b36b5..0956b25 100644
--- a/options.c
+++ b/options.c
@@ -43,6 +43,7 @@
  #include <stdlib.h>
  #include <string.h>
  #include <sys/types.h>
+#include <limits.h>
  #include <sys/stat.h>
  #include <sys/socket.h>
  #include <netdb.h>
-- 
1.5.2.5




More information about the rds-devel mailing list