cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl 7.9.3 pre3 build fails

From: jonatan <jonatan_at_cyberdude.com>
Date: Fri, 18 Jan 2002 11:26:37 +0100

> > /usr/include/sys/errno.h:
>>
>> ...
>> #define EAGAIN 35 /* Resource temporarily
>>unavailable */
>> #ifndef _POSIX_SOURCE
>> #define EWOULDBLOCK EAGAIN /* Operation would block */
>> ...
>> #endif /* ! _POSIX_SOURCE */
>> ...
>
>Ah! Many thanks.
>
>So is "#include <errno.h>" enough to correct both those previous problems?

yes.

fwiw, i got these warnings when making:

mprintf.c:186: warning: use of `long double' type; its size may
change in a future release
mprintf.c:186: warning: (Long double usage is reported only once for each file.
mprintf.c:186: warning: To disable this warning, use -Wno-long-double.)
llist.c: In function `curl_llist_alloc':
llist.c:49: warning: assignment makes pointer from integer without a cast
hash.c: In function `curl_hash_alloc':
hash.c:104: warning: assignment makes pointer from integer without a cast
Received on 2002-01-18