Package: libmath-random-mt-perl Version: 1.07-1 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, please find attached a patch to fix the FTBFS on GNU/kFreeBSD. I think you may want to add “|| defined(__GNU__)” if you want to help GNU/Hurd people, but I didn't test it on such a platform. Thanks for considering. Mraw, KiBi.
--- a/mt.h +++ b/mt.h @@ -5,7 +5,7 @@ #include <stdlib.h> -#if defined(__linux__) || defined(__WIN32__) +#if defined(__linux__) || defined(__WIN32__) || defined(__GLIBC__) #include <stdint.h> #elif defined(__osf__) #include <inttypes.h>