folly: NotificationQueue: fix headers
authorLucian Grijincu <lucian@fb.com>
Tue, 13 Oct 2015 09:49:16 +0000 (02:49 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 13 Oct 2015 10:20:16 +0000 (03:20 -0700)
Summary: Include headers for all std:: stuff used in the header + getpid().

```
       #include <sys/types.h>
       #include <unistd.h>

       pid_t getpid(void);
       pid_t getppid(void);
```

Reviewed By: @yfeldblum

Differential Revision: D2535284

fb-gh-sync-id: b1167e8f382878d27553161b9b569968006355b3

folly/io/async/NotificationQueue.h

index b0a2bd732aa4e73812421a07e02d20661aaa39c7..32cda2564e56e28ac7fc64e75b059c48ca05fd7e 100644 (file)
 #pragma once
 
 #include <fcntl.h>
+#include <sys/types.h>
 #include <unistd.h>
 
+#include <algorithm>
+#include <deque>
+#include <iterator>
+#include <memory>
+#include <stdexcept>
+#include <utility>
+
 #include <folly/io/async/EventBase.h>
 #include <folly/io/async/EventHandler.h>
 #include <folly/io/async/DelayedDestruction.h>
@@ -28,7 +36,6 @@
 #include <folly/SpinLock.h>
 
 #include <glog/logging.h>
-#include <deque>
 
 #if __linux__ && !__ANDROID__
 #define FOLLY_HAVE_EVENTFD