2011/8/27 Christoph Egger <[email protected]>:
> --- 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



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to