2 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #ifndef _SUNW_PORT_BEFORE_H
7 #define _SUNW_PORT_BEFORE_H
10 #include <conf/sunoptions.h>
13 /* version-specific defines */
14 #include <os_version.h>
15 #if (OS_MAJOR == 5 && OS_MINOR < 6)
16 #ifndef SOLARIS_BITTYPES
17 #define NEED_SOLARIS_BITTYPES 1
21 #if (OS_MAJOR == 5 && OS_MINOR < 5)
27 #if defined(HAS_PTHREADS)
32 * need these if we are using public versions of nameser.h, resolv.h, and
35 #include <sys/param.h>
36 #if (!defined(BSD)) || (BSD < 199306)
37 #include <sys/bitypes.h>
39 #include <sys/types.h>
41 #include <sys/cdefs.h>
43 #endif /* _SUNW_PORT_BEFORE_H */