headers, tipc: Add missing #include to <linux/tipc_config.h> for userland
<linux/tipc_config.h> defines inline functions using ntohs() etc. For userland these are defined in <arpa/inet.h>. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7ff30c43f3
commit
3828620bc0
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@
|
|||
#include <linux/string.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#ifndef __KERNEL__
|
||||
#include <arpa/inet.h> /* for ntohs etc. */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Configuration
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue