Hi kcc, kutuzov.viktor.84, In sanitizer_platform_limits_posix.cc, for FreeBSD the <netinet/ip_compat.h> header is included unconditionally. This does not always work, as the header is not always installed, because it is only used internally by ipfilter.
None of the code in sanitizer_platform_limits_posix.cc seems to use any of the definitions in ip_compat.h, so can we please remove the include? See also: https://svnweb.freebsd.org/changeset/base/277201 http://reviews.llvm.org/D7486 Files: lib/sanitizer_common/sanitizer_platform_limits_posix.cc Index: lib/sanitizer_common/sanitizer_platform_limits_posix.cc =================================================================== --- lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -97,7 +97,6 @@ # include <sys/link_elf.h> # include <netinet/ip_mroute.h> # include <netinet/in.h> -# include <netinet/ip_compat.h> # include <net/ethernet.h> # include <net/ppp_defs.h> # include <glob.h> EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/
Index: lib/sanitizer_common/sanitizer_platform_limits_posix.cc =================================================================== --- lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -97,7 +97,6 @@ # include <sys/link_elf.h> # include <netinet/ip_mroute.h> # include <netinet/in.h> -# include <netinet/ip_compat.h> # include <net/ethernet.h> # include <net/ppp_defs.h> # include <glob.h>
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
