summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systemd/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/util.c b/systemd/util.c
index c6ec3b2..f4551c3 100644
--- a/systemd/util.c
+++ b/systemd/util.c
@@ -19,6 +19,10 @@
/* stuff imported from systemd without any changes */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>