[sane-devel] [PATCH] undefined symbols in the qcam backend on GNU/kFreeBSD

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Jan 8 12:53:45 UTC 2006


On 2006-01-07 05:15, Aurelien Jarno wrote:
> -#if defined(__linux__) || defined (HAVE_SYS_HW_H)
> +#if defined(__GLIBC__) || defined (HAVE_SYS_HW_H)

But this means that Linux without glibc won' work, which is the reason
for this one:

>  #elif HAVE_ASM_IO_H
>  # include <asm/io.h>		/* older Linux */
>  #elif HAVE_SYS_HW_H

Granted, not many pre-glibc linux systems will exist and use SANE but
I guess this should be made more intelligent nevertheless.

Or do I miss something?


More information about the sane-devel mailing list