umad.{c,h}: moving stdlib.h include from C to H file
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
Signed-off-by Yevgeny Kliteynik <[email protected]>
--- 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
@@ -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
@@ -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]
Sasha Khapyorsky
AppliedQuoted 3 lines · Yevgeny Kliteynik
umad.husessize_ttype, which requiresstdlib.hSigned-off-by Yevgeny Kliteynik <[email protected]>
Applied. Thanks.
Sasha
--
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