can.c: Include compat.h.
commit64de07ef58a0187ebb971d0174a73d857a1470d5
authorVinson Lee <vlee@twitter.com>
Sat, 24 Aug 2013 03:04:52 +0000 (23 20:04 -0700)
committerDave Jones <davej@redhat.com>
Wed, 28 Aug 2013 20:40:54 +0000 (28 16:40 -0400)
treea42fa9510b020c6ae7728f27cce91c4e28928c41
parentf5f73a5a9d875d428c03791245b29825c0ae1aec
can.c: Include compat.h.

This patch fixes these build errors with glibc before 2.10.

net/can.c: In function ‘can_gen_sockaddr’:
net/can.c:17: error: ‘AF_CAN’ undeclared (first use in this function)
net/can.c:17: error: (Each undeclared identifier is reported only once
net/can.c:17: error: for each function it appears in.)

Signed-off-by: Vinson Lee <vlee@twitter.com>
net/can.c