summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-21 23:49:49 +0200
committerDavid S. Miller <davem@davemloft.net>2006-07-21 23:49:49 +0200
commit64d2f0855e50a7185546ee1fbc03c2badc31330f (patch)
tree108da81ade6ad9b20301f1d20f22c8fc9e4a7808 /net
parent[SCTP]: ADDIP: Don't use an address as source until it is ASCONF-ACKed (diff)
downloadlinux-64d2f0855e50a7185546ee1fbc03c2badc31330f.tar.xz
linux-64d2f0855e50a7185546ee1fbc03c2badc31330f.zip
[I/OAT]: net/core/user_dma.c should #include <net/netdma.h>
Every file should #include the headers containing the prototypes for its global functions. Especially in cases like this one where gcc can tell us through a compile error that the prototype was wrong... Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/user_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/user_dma.c b/net/core/user_dma.c
index b7c98dbcdb81..248a6b666aff 100644
--- a/net/core/user_dma.c
+++ b/net/core/user_dma.c
@@ -29,6 +29,7 @@
#include <linux/socket.h>
#include <linux/rtnetlink.h> /* for BUG_TRAP */
#include <net/tcp.h>
+#include <net/netdma.h>
#define NET_DMA_DEFAULT_COPYBREAK 4096