summaryrefslogtreecommitdiffstats
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-07 18:02:43 -0700
committerDavid S. Miller <davem@davemloft.net>2007-08-07 18:02:43 -0700
commit14ae856645dba5b9ba56b2d0627b3b9825fa37b2 (patch)
tree8138ad05a3836f73c1f4f0593c5c73add1141d81 /net/core/utils.c
parent3482fd9099e8aab8b8096eb6da93571ea5a0b4c2 (diff)
downloadblackbird-op-linux-14ae856645dba5b9ba56b2d0627b3b9825fa37b2.tar.gz
blackbird-op-linux-14ae856645dba5b9ba56b2d0627b3b9825fa37b2.zip
[NET] net/core/utils: fix sparse warning
net_msg_warn is not defined because it is in net/sock.h which isn't included. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/utils.c')
-rw-r--r--net/core/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/utils.c b/net/core/utils.c
index 2030bb8c2d30..0bf17da40d52 100644
--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -25,6 +25,7 @@
#include <linux/random.h>
#include <linux/percpu.h>
#include <linux/init.h>
+#include <net/sock.h>
#include <asm/byteorder.h>
#include <asm/system.h>
OpenPOWER on IntegriCloud