From: Ben Hutchings Date: Wed, 24 Aug 2011 18:45:14 +0000 (+0000) Subject: headers, tipc: Add missing #include to for userland X-Git-Tag: MMI-PSA29.97-13-9~18194^2~397 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3828620bc0c2d055c3e66c075de4c2a609baec26;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git headers, tipc: Add missing #include to for userland defines inline functions using ntohs() etc. For userland these are defined in . Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/include/linux/tipc_config.h b/include/linux/tipc_config.h index 0db239590b4d..9730b0e51e46 100644 --- a/include/linux/tipc_config.h +++ b/include/linux/tipc_config.h @@ -41,6 +41,10 @@ #include #include +#ifndef __KERNEL__ +#include /* for ntohs etc. */ +#endif + /* * Configuration *