Define _GNU_SOURCE for O_CLOEXEC flag

This commit is contained in:
Kristian Høgsberg
2011-04-12 11:34:32 -04:00
parent 01aed1c665
commit 0b9334a51a
+2
View File
@@ -16,6 +16,8 @@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>