Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Compiling on 8.1.3 on Openserver 5.05



Mark Campbell <mark(dot)campbell(at)ucs-software(dot)co(dot)za> writes:
> and this in resolv.h

> /*
>  * This used to be defined in res_query.c, now it's in herror.c.  It was
>  * never extern'd by any *.h file before it was placed here.  herror.c is
>  * part of libresolv.a even though it might make more sense in libnetdb.a
>  * or even libnet.a.
>  */

> extern int h_errno;

So reading the standard isn't high on their to-do list for resolving
such questions :-(

Although you could probably fix this with #include <resolv.h>, that
seems a bit random to me.  Why don't you try this instead in
getaddrinfo.c:

	#ifndef h_errno
	extern int h_errno;
	#endif

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group