Add a couple more things to the socket portability layer
authorChristopher Dykes <cdykes@fb.com>
Thu, 4 Aug 2016 22:44:27 +0000 (15:44 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Thu, 4 Aug 2016 22:54:26 +0000 (15:54 -0700)
commit242e3da1ad184bd221bdfa5e10f5903fbf8dda6b
tree95888672568be0cae8a17cb066cc26dbe85c9c0c
parentce9e2df36ae6c86ee77dabbf9a6f97f32c39fe26
Add a couple more things to the socket portability layer

Summary: To make it possible for things to actually compile, this adds `socketpair` and the `sockaddr_un` struct, and also removes the `FOLLY_HAVE_UNIX_SOCKETS` define, as it is no longer needed.

Reviewed By: yfeldblum

Differential Revision: D3671158

fbshipit-source-id: 7333470f2e85c24edb935be5e1b94b4edc6e7267
folly/portability/Sockets.cpp
folly/portability/Sockets.h