From: Ben Hutchings Date: Wed, 24 Aug 2011 18:45:14 +0000 (+0000) Subject: headers, tipc: Add missing #include to for userland X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3828620bc0c2d055c3e66c075de4c2a609baec26;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 *