[compiler-rt] r229518 - Remove inclusion of netinet/ip_compat.h for FreeBSD. This header is not

Dimitry Andric dimitry at andric.com
Tue Feb 17 10:27:40 PST 2015


Author: dim
Date: Tue Feb 17 12:27:39 2015
New Revision: 229518

URL: http://llvm.org/viewvc/llvm-project?rev=229518&view=rev
Log:
Remove inclusion of netinet/ip_compat.h for FreeBSD.  This header is not
always available, and nothing in sanitizer_platform_limits_posix.cc uses
any of its definitions.

See also: https://svnweb.freebsd.org/changeset/base/277201

Reviewers: kcc, kutuzov.viktor.84, samsonov
Reviewed By: samsonov
Differential Revision: http://reviews.llvm.org/D7486

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc?rev=229518&r1=229517&r2=229518&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cc Tue Feb 17 12:27:39 2015
@@ -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>





More information about the llvm-commits mailing list