Fix compiler-rt build on FreeBSD 10.1

We have to #define _WANT_RTENTRY to get struct rtentry, and add headers
that it depends on.

SIOCADDRT and SIOCDELRT also do not exist in FreeBSD 10.1 and were removed
in FreeBSD rev. 263203:

  Garbage collect long time obsoleted (or never used) stuff from routing
  API.

Differential Revision: http://reviews.llvm.org/D5703

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219722 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit d4216f1b42dd1d0c473177f407d40afbc5647e77)
1 file changed