summaryrefslogtreecommitdiff
path: root/src/collect/collect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/collect/collect.c')
-rw-r--r--src/collect/collect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/collect/collect.c b/src/collect/collect.c
index 9d1a97e017..05d6517a54 100644
--- a/src/collect/collect.c
+++ b/src/collect/collect.c
@@ -19,6 +19,10 @@
*
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
@@ -31,10 +35,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef __UCLIBC__
-#include <linux/fcntl.h>
-#endif
-
#include "libudev.h"
#include "libudev-private.h"
#include "macro.h"