From 17a1dad79588313c879a3eef94dcb8d5ad1b57ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 13 Dec 2016 20:38:46 -0500 Subject: util: add compatibility for old glibc Oh, Ubuntu! --- systemd/util.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include #include -- cgit v1.2.1