Windows needs to specifically pull in inet_pton from inet.h. Signed-off-by: Sean Hefty <[email protected]> ---
libibmad/src/resolve.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libibmad/src/resolve.c b/libibmad/src/resolve.c index 9438fc1..3e07e8a 100644 --- a/libibmad/src/resolve.c +++ b/libibmad/src/resolve.c @@ -39,6 +39,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <arpa/inet.h> #include <infiniband/umad.h> #include <infiniband/mad.h> -- 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
