net/caif.c: Include compat.h.
PATCH 1/1 net/caif.c: Include compat.h.
From: Vinson Lee <[email protected]>
This patch fixes this build error with glibc before 2.13.
CC net/caif.onet/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 <[email protected]>
--- net/caif.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
net/caif.c +1 -0
@@ -6,6 +6,7 @@#include "config.h" #include "net.h" #include "random.h" +#include "compat.h" #ifdef USE_CAIF #include <linux/caif/caif_socket.h>
Signature · 1 line
1.7.1