Files
linux/tools
Jon Medhurst 7bf87fba32 gator-daemon: Fix compilation error: 'sa_family_t' does not name a type
When compiling on Linaro Android we get the following error:

bionic/libc/kernel/common/linux/netlink.h:52:2: error: 'sa_family_t' does not name a type
  sa_family_t nl_family;

This is related to an issue that was fixed in Linux 3.1 by commit
6602a4baf4 (net: Make userland include of netlink.h more sane)
but it seems that the Linux headers used by bionic predate that.

Fortunately, the fix for us is simple: reorder the header file includes
so that the definition of sa_family_t from sys/socket.h is picked up
before being used by linux/netlink.h

Signed-off-by: Jon Medhurst <tixy@linaro.org>
2014-04-10 12:11:42 +01:00
..
2013-04-24 09:02:36 -07:00
2013-03-07 09:56:46 +11:00
2011-11-07 21:10:47 -05:00
2013-03-15 13:06:01 -03:00