[sane-devel] problems with CVS-code on OS/2
Julien BLACHE
jb at jblache.org
Mon Mar 31 19:52:12 BST 2003
Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
>> > saned.c:60:22: sys/poll.h: No such file or directory
>> >
>> > If I remove this include saned compiles.
>>
>> Should be included only if saned uses AF-indep code, patch attached.
>
> Let's hope that OS/2 doesn't have getaddrinfo and getnameinfo. Maybe
> it's better to check for the poll.h header in configure explicitely
> and add an additional #ifdef HAVE_POLL_H around it?
Well if it builds and works without the sys/poll.h include and works,
either it doesn't have getnameinfo/getaddrinfo or it just works by
some black magic :)
Adding the check might be a good thing, though.
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb at jblache.org>
More information about the sane-devel
mailing list