Bug#639490: ladish: fixed patch for kfreebsd

Robert Millan rmh at debian.org
Sat Aug 27 18:41:15 UTC 2011


2011/8/27 Christoph Egger <christoph at debian.org>:
> --- ladish.orig/alsapid/helper.c
> +++ ladish/alsapid/helper.c
> @@ -31,7 +31,11 @@
>  #include <stdlib.h>             /* atoll */
>  #include <unistd.h>
>  #include <sys/types.h>
> +#ifdef __linux__
>  #include <linux/limits.h>
> +#else
> +#include <sys/syslimits.h>
> +#endif

On GNU/Linux, <linux/limits.h> shouldn't be included directly anyway,
it is dragged in by <limits.h>. On GNU/kFreeBSD, <limits.h> drags in
<sys/syslimits.h>, so this problem can be solved simply by including
<limits.h> unconditionally.

-- 
Robert Millan





More information about the pkg-multimedia-maintainers mailing list