fix compilation error on kFreeBSD and Hurd

This commit is contained in:
gregor herrmann 2015-01-23 09:50:41 +01:00 committed by Erik Ekman
parent 434a023afe
commit 1160649794
1 changed files with 3 additions and 0 deletions

View File

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