[compiler-rt] r184290 - [sanitizer] Fix build on RHEL 6.3, 6.4.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed Jun 19 01:55:28 PDT 2013
Author: eugenis
Date: Wed Jun 19 03:55:28 2013
New Revision: 184290
URL: http://llvm.org/viewvc/llvm-project?rev=184290&view=rev
Log:
[sanitizer] Fix build on RHEL 6.3, 6.4.
linux/if_ppp.h is broken in certain kernels.
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=184290&r1=184289&r2=184290&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 Wed Jun 19 03:55:28 2013
@@ -46,9 +46,8 @@
#include <linux/fd.h>
#include <linux/fs.h>
#include <linux/hdreg.h>
-#include <linux/ppp_defs.h>
-#include <linux/if_ppp.h>
#include <linux/soundcard.h>
+#include <net/if_ppp.h>
#endif
#if !SANITIZER_ANDROID
More information about the llvm-commits
mailing list