Some more OpenSSL 1.1.0 compat APIs
[folly.git] / folly / portability / Sockets.h
index 1763006cd3f54458710ef90a2d0c5a4eca6df124..74060df1b8a211dc7f8db76ed69c390b66909803 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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