]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
Do not include linux/in.h
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 18:32:15 +0000 (19:32 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 18:32:15 +0000 (19:32 +0100)
It caused symbol redefinitions when combined with headers from
/usr/include. It seems that other headers that use sockaddr_in also do not
include its definition.

include/uapi/linux/can/canethgw.h

index 938ed80b5dbfbe8c985928ca8cd1a678739babca..f12e054850d6a35d90594b5d5df85abd9ecd1494 100644 (file)
@@ -2,7 +2,6 @@
 #define CANETHGW_H
 
 #include <linux/types.h>
-#include <linux/in.h>
 
 struct cegw_ioctl
 {