[PATCH] Fix declaration of struct rtentry and SIOCADDRT/DELRT ioctls on certain FreeBSD versions

Viktor Kutuzov vkutuzov at accesssoftek.com
Tue Aug 12 03:24:26 PDT 2014


Please upload this diff with full context as described at:

http://llvm.org/docs/Phabricator.html#id3

================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_posix.cc:661
@@ -641,2 +660,3 @@
   unsigned IOCTL_MTIOCTOP = MTIOCTOP;
+#if SANITIZER_FREEBSD_RTENTRY
   unsigned IOCTL_SIOCADDRT = SIOCADDRT;
----------------
Should we define these for Linux as well?

http://reviews.llvm.org/D4853






More information about the llvm-commits mailing list