Support if_indextoname in the socket portability header v2017.07.17.01
authorChristopher Dykes <cdykes@fb.com>
Tue, 18 Jul 2017 22:52:33 +0000 (15:52 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Jul 2017 23:05:20 +0000 (16:05 -0700)
commite6fa347e7e436f0a52f5e313f55b7d1ef47a3767
treefaf05af92a1e701613ca9919ef181729779f7b3d
parentb10cedceae3f3fc098a69b2c67f9a8b119166c48
Support if_indextoname in the socket portability header

Summary: Windows doesn't have `net/if.h` and instead needs `iphlpapi.h` included, and `ntddndis.h` is ultimately needed to get the definition of `IF_NAMESIZE`.

Reviewed By: yfeldblum

Differential Revision: D5438188

fbshipit-source-id: 48a786f7d10ca4b8479bb20b257ed1e857431654
CMakeLists.txt
folly/IPAddressV6.cpp