forked from Minki/linux
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
@ -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 New Issue
Block a user