SocketFastOpen should include <cerrno>
authorMichael Lee <mzlee@fb.com>
Tue, 31 May 2016 18:24:56 +0000 (11:24 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Tue, 31 May 2016 18:38:24 +0000 (11:38 -0700)
Summary: Include cerrno to define `EOPNOTSUPP` and `ENOPROTOOPT`.

Reviewed By: elindsey

Differential Revision: D3366479

fbshipit-source-id: 3a93a1c247ffa4a9d4ea03577713362a2a35c8b7

folly/detail/SocketFastOpen.cpp

index 4455377ebe3f99efc95c77f1ee21422cbf8738f1..e8a71f24a1c88f4c41f673f67ab9b0937c3fa4d4 100644 (file)
@@ -16,6 +16,8 @@
 
 #include <folly/detail/SocketFastOpen.h>
 
+#include <cerrno>
+
 namespace folly {
 namespace detail {