Subject: | Fails to build on GNU/kFreeBSD |
Hi
On Debian we recived the following "Fails to build from source"-Bugreport:
http://bugs.debian.org/539949
Show quoted text
> 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.
Cyril Brulebois proposed the attached patch to fix that.
Would it possible to integrate this?
Many thanks for consideration
Salvatore
Subject: | 01-fix-ftbfs-on-kfreebsd.diff |
--- 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>