From f05ff6b8ea6a30237d61cd2db87be62786eeb7aa Mon Sep 17 00:00:00 2001 From: Rocky Liu Date: Tue, 13 May 2014 14:35:37 -0700 Subject: [PATCH] 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 --- folly/Subprocess.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/Subprocess.cpp b/folly/Subprocess.cpp index 3f25f7ff..54f614b5 100644 --- a/folly/Subprocess.cpp +++ b/folly/Subprocess.cpp @@ -21,6 +21,10 @@ #endif #include #include + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include -- 2.34.1