Commit cef57896 authored by Lucian Grijincu's avatar Lucian Grijincu Committed by facebook-github-bot-4

folly: NotificationQueue: fix headers

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
parent 498bc465
......@@ -17,8 +17,16 @@
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment