@@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
30 NIX_CFLAGS_COMPILE =
30 NIX_CFLAGS_COMPILE =
31 with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
31 with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";
34+ with stdenv; lib.optional (isDarwin) "-D_POSIX_C_SOURCE=200809L";
33 meta = with stdenv.lib; {
36 meta = with stdenv.lib; {
34 homepage = "http://www.gnupg.org/related_software/gpgme";
37 homepage = "http://www.gnupg.org/related_software/gpgme";
35 description = "Library for making GnuPG easier to use";
38 description = "Library for making GnuPG easier to use";