--- /dev/null Fri Jul 3 12:24:08 2009 +++ new/usr/src/lib/libresolv2/include/sunw_port_before.h Fri Jul 3 12:24:08 2009 @@ -0,0 +1,40 @@ +/* + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#ifndef _SUNW_PORT_BEFORE_H +#define _SUNW_PORT_BEFORE_H + +#ifdef SUNW_OPTIONS +#include +#endif + +/* version-specific defines */ +#include +#if (OS_MAJOR == 5 && OS_MINOR < 6) +#ifndef SOLARIS_BITTYPES +#define NEED_SOLARIS_BITTYPES 1 +#endif +#endif + +#if (OS_MAJOR == 5 && OS_MINOR < 5) +#undef HAS_PTHREADS +#else +#define HAS_PTHREADS +#endif + + +/* + * need these if we are using public versions of nameser.h, resolv.h, and + * inet.h + */ +#include +#if (!defined(BSD)) || (BSD < 199306) +#include +#else +#include +#endif +#include + +#endif /* _SUNW_PORT_BEFORE_H */