[ofa-general] [PATCH] opensm/osm_sa.c: adding missing include

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Nov 3 07:07:27 PST 2008


Hi Sasha,

Adding missing include to fix compilation warning.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/osm_sa.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opensm/opensm/osm_sa.c b/opensm/opensm/osm_sa.c
index 6c02d5d..185557f 100644
--- a/opensm/opensm/osm_sa.c
+++ b/opensm/opensm/osm_sa.c
@@ -48,6 +48,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <errno.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <complib/cl_qmap.h>
-- 
1.5.1.4




More information about the general mailing list