Commit f05ff6b8 authored by Rocky Liu's avatar Rocky Liu Committed by Dave Watson

Always #define _GNU_SOURCE to pull in pipe2() declarations

Summary: [folly::Subprocess] Always #define _GNU_SOURCE to pull in pipe2() declarations

Test Plan: Compile

Reviewed By: tudorb@fb.com

FB internal diff: D1327004
parent b51f8cd7
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <poll.h> #include <poll.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <unistd.h> #include <unistd.h>
#include <array> #include <array>
......
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