Subject: [PATCH] net: fix ifenslave build flags

From: Randy Dunlap <[email-masked]>
Date: Thu, 10 Feb 2011 16:27:25 -0800

From: Randy Dunlap <[email-masked]>

-I (include path) should be specified for host builds.
This one was overlooked somehow.  Fixes
https://bugzilla.kernel.org/show_bug.cgi?id=25902

Signed-off-by: Randy Dunlap <[email-masked]>
Reported-by: Alexey Salmin <[email-masked]>
---
 Documentation/networking/Makefile |    2 ++
 1 file changed, 2 insertions(+)

--- lnx-2638-rc4.orig/Documentation/networking/Makefile
+++ lnx-2638-rc4/Documentation/networking/Makefile
@@ -4,6 +4,8 @@ obj- := dummy.o
 # List of programs to build
 hostprogs-y := ifenslave
 
+HOSTCFLAGS_ifenslave.o += -I$(objtree)/usr/include
+
 # Tell kbuild to always build the programs
 always := $(hostprogs-y)