Skip to contentSkip to conversation

umad.{c,h}: moving stdlib.h include from C to H file

PATCH Applied Yevgeny Kliteynik 2 participants 2 messages Oct 4, 2010 – Oct 25, 2010 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 umad.{c,h}: moving stdlib.h include from C to H file

umad.h uses size_t type, which requires stdlib.h

---
 libibumad/include/infiniband/umad.h |    1 +
 libibumad/src/umad.c                |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
libibumad/include/infiniband/umad.h +1 -0
index 7ad5e4a..23abf0d 100644
@@ -34,6 +34,7 @@
 #define _UMAD_H
 
 #include <stdint.h>
+#include <stdlib.h>
 
 #ifdef __cplusplus
 #  define BEGIN_C_DECLS extern "C" {
libibumad/src/umad.c +0 -1
index d16e750..45a9423 100644
@@ -46,7 +46,6 @@
 #include <sys/ioctl.h>
 #include <netinet/in.h>
 #include <dirent.h>
-#include <stdlib.h>
 #include <ctype.h>
 
 #include "umad.h"
Signature · 6 lines
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4CA9AE57.5020106-VPRAkNaXOzVS1MOuV/[email protected]