Re: [PATCH 3/3] build: support compilation on non-Linuxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2011-03-09 14:53, Pablo Neira Ayuso wrote:
>
>One comment:
>
>> ---
>>  configure.ac                    |   13 ++--
>>  include/generic/linux/netlink.h |  152 +++++++++++++++++++++++++++++++++++++++
>
>This duplicates the header that it's in include/linux/netlink.h, the
>only difference that I see at a quick glance is:
>
>+#ifndef AF_NETLINK
>+#	define AF_NETLINK 0
>+#endif
>
>right?
>
>I have kept this patch until we've got some discussion.

And replacing __u16/32 by uint16_t/32_t plus #include <stdint.h>
because Other OS don't have linux/types.h (and all the other linux/ 
includes that will be pulled in as a result of it).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux