diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 77b069f..4f56a8d 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 @@ -13,6 +13,7 @@ case $host_os in ;; *cygwin*) HOST_OS=cygwin + CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ;; *darwin*) HOST_OS=darwin