pipe.c: #define GNU_SOURCE

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
Colin Patrick McCabe 2011-08-22 15:06:16 -07:00 committed by Sage Weil
parent 7ef44b7353
commit ae9ba2249e

View File

@ -12,6 +12,10 @@
*
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* need for pipe2 */
#endif
#include "common/pipe.h"
#include <errno.h>