]> err.no Git - linux-2.6/blobdiff - include/linux/udp.h
[PATCH] USB: make endpoints real struct devices
[linux-2.6] / include / linux / udp.h
index b60e0b4a25c41fd4cb91d333f0d001643c9cc424..bdd39be094065fa5a53c26864e9db5feb51e5122 100644 (file)
@@ -35,10 +35,9 @@ struct udphdr {
 #define UDP_ENCAP_ESPINUDP     2 /* draft-ietf-ipsec-udp-encaps-06 */
 
 #ifdef __KERNEL__
+#include <linux/types.h>
 
-#include <linux/config.h>
-#include <net/sock.h>
-#include <linux/ip.h>
+#include <net/inet_sock.h>
 
 struct udp_sock {
        /* inet_sock has to be the first member */