Package: mbuffer Version: 20091122-1 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, your package FTBFS on GNU/kFreeBSD, which is fixed by the attached patch. The <linux/limits.h> include isn't actually needed, but you may want to clarify it is being used (namely for PIPE_BUF). Build logs at the usual place: https://buildd.debian.org/status/package.php?suite=unstable&p=mbuffer Thanks for considering. Mraw, KiBi.
--- a/log.c +++ b/log.c @@ -19,7 +19,7 @@ #include "log.h" -#if !(defined(__sun) || defined(__linux)) +#if !(defined(__sun) || defined(__linux) || defined(__GLIBC__)) #define NEED_IO_INTERLOCK #endif @@ -28,6 +28,11 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#if defined(linux) +#include <linux/limits.h> +#else +#include <sys/syslimits.h> +#endif #include <sys/types.h> #include <unistd.h>