net/caif.c: Include compat.h.
commitfa3efbbae1acc8a40ee46cbb6e792ec62b7aa74b
authorVinson Lee <vlee@twitter.com>
Thu, 8 Aug 2013 00:26:14 +0000 (7 17:26 -0700)
committerDave Jones <davej@redhat.com>
Thu, 8 Aug 2013 00:47:56 +0000 (7 20:47 -0400)
treee405a4b388420d971a12c65928d329691d42db1c
parent1874d242780467669ac9ca0db2b8624333b11419
net/caif.c: Include compat.h.

This patch fixes this build error with glibc before 2.13.

  CC    net/caif.o
net/caif.c: In function ‘caif_gen_sockaddr’:
net/caif.c:22: error: ‘PF_CAIF’ undeclared (first use in this function)
net/caif.c:22: error: (Each undeclared identifier is reported only once
net/caif.c:22: error: for each function it appears in.)
make: *** [net/caif.o] Error 1

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