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 ;; *)