diff mbox

[2/2] libibmad/resolve: add include to pick up inet_pton

Message ID B3D9536B45F044569239C2EF308D6BBD@amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hefty, Sean Sept. 30, 2009, 11:22 p.m. UTC
None
diff mbox

Patch

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>