From 11606497941c4ad13724c53b406fad57a2913475 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Fri, 23 Jan 2015 09:50:41 +0100 Subject: [PATCH] fix compilation error on kFreeBSD and Hurd --- src/osflags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osflags b/src/osflags index 0f8a26c..45c2e59 100755 --- a/src/osflags +++ b/src/osflags @@ -38,6 +38,9 @@ cflags) [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD"; echo $FLAGS; ;; + GNU/kFreeBSD|GNU) + echo '-D_GNU_SOURCE' + ;; esac ;; *)