projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always #define _GNU_SOURCE to pull in pipe2() declarations
[folly.git]
/
folly
/
Subprocess.cpp
diff --git
a/folly/Subprocess.cpp
b/folly/Subprocess.cpp
index 3f25f7ffb68d78cc2525b291be95c227142e93fa..54f614b59fc94efd22285f1b67d4ec0e293e9f54 100644
(file)
--- a/
folly/Subprocess.cpp
+++ b/
folly/Subprocess.cpp
@@
-21,6
+21,10
@@
#endif
#include <fcntl.h>
#include <poll.h>
+
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#include <unistd.h>
#include <array>