Enable auto-deps in all of Folly
[folly.git] / folly / portability / Sockets.h
index 8cf18b1cc176843a8a655c7e48da13ab573632c6..f1617fc923dcc496f6834d84fcbbd685a454bdcb 100755 (executable)
@@ -30,7 +30,7 @@
 #include <folly/portability/SysTypes.h>
 #include <folly/portability/Windows.h>
 
-#include <WS2tcpip.h>
+#include <WS2tcpip.h> // @manual
 
 using nfds_t = int;
 using sa_family_t = ADDRESS_FAMILY;
@@ -60,6 +60,7 @@ struct sockaddr_un {
 
 // These are the same, but PF_LOCAL
 // isn't defined by WinSock.
+#define AF_LOCAL PF_UNIX
 #define PF_LOCAL PF_UNIX
 
 // This isn't defined by Windows, and we need to