[openib-general] [PATCH] SDP: add <linux/if_arp.h>

Roland Dreier rdreier at cisco.com
Wed Jan 11 11:45:39 PST 2006


In upstream kernels, it seems that networking headers have been
rejiggered so that <linux/if_arp.h> no longer gets included implicitly
into sdp_link.c.  Since sdp_link.c uses the ARPHRD_INFINIBAND symbol,
we need to include it explicitly.

Signed-off-by: Roland Dreier <rolandd at cisco.com>

--- infiniband/ulp/sdp/sdp_link.c	(revision 4929)
+++ infiniband/ulp/sdp/sdp_link.c	(working copy)
@@ -33,6 +33,8 @@
  * $Id$
  */
 
+#include <linux/if_arp.h>
+
 #include "ipoib.h"
 #include "sdp_main.h"
 



More information about the general mailing list