From b6b2635eda2a54b55e4d030647f5bb9c1af99727 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Mon, 30 May 2016 16:05:16 -0700 Subject: [PATCH] Include where needed Summary: Diff #9 of 14. Reviewed By: mzlee Differential Revision: D3262436 fbshipit-source-id: 60c5df03e91163c651bc6e5e0d38ba8b46b8c723 --- folly/File.cpp | 2 +- folly/FileUtil.cpp | 4 +--- folly/io/async/AsyncServerSocket.cpp | 2 +- folly/io/async/AsyncSocket.cpp | 2 +- folly/io/async/AsyncUDPSocket.cpp | 2 +- folly/io/async/NotificationQueue.h | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/folly/File.cpp b/folly/File.cpp index 091e0103..ad0b4475 100644 --- a/folly/File.cpp +++ b/folly/File.cpp @@ -16,13 +16,13 @@ #include -#include #include #include #include #include #include +#include #include #include diff --git a/folly/FileUtil.cpp b/folly/FileUtil.cpp index e73b5936..9d50e82a 100644 --- a/folly/FileUtil.cpp +++ b/folly/FileUtil.cpp @@ -17,12 +17,10 @@ #include #include -#ifdef __APPLE__ -#include -#endif #include #include +#include #include namespace folly { diff --git a/folly/io/async/AsyncServerSocket.cpp b/folly/io/async/AsyncServerSocket.cpp index 2693cc8a..f28bbc31 100644 --- a/folly/io/async/AsyncServerSocket.cpp +++ b/folly/io/async/AsyncServerSocket.cpp @@ -25,9 +25,9 @@ #include #include #include +#include #include -#include #include #include #include diff --git a/folly/io/async/AsyncSocket.cpp b/folly/io/async/AsyncSocket.cpp index 3d9f91c7..3424eb98 100644 --- a/folly/io/async/AsyncSocket.cpp +++ b/folly/io/async/AsyncSocket.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -27,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/folly/io/async/AsyncUDPSocket.cpp b/folly/io/async/AsyncUDPSocket.cpp index 34723caf..d7e9f03b 100644 --- a/folly/io/async/AsyncUDPSocket.cpp +++ b/folly/io/async/AsyncUDPSocket.cpp @@ -18,10 +18,10 @@ #include #include +#include #include #include -#include // Due to the way kernel headers are included, this may or may not be defined. // Number pulled from 3.10 kernel headers. diff --git a/folly/io/async/NotificationQueue.h b/folly/io/async/NotificationQueue.h index 2a12980e..86a2b95b 100644 --- a/folly/io/async/NotificationQueue.h +++ b/folly/io/async/NotificationQueue.h @@ -16,7 +16,6 @@ #pragma once -#include #include #include #include @@ -36,6 +35,7 @@ #include #include #include +#include #include -- 2.34.1