1 /* $Cambridge: exim/src/OS/os.h-SunOS5,v 1.2 2005/03/15 14:09:12 ph10 Exp $ */
3 /* Exim: OS-specific C header file for SunOS5 aka Solaris */
7 #define HAVE_SYS_STATVFS_H
8 #define F_FAVAIL f_favail
9 #define SIOCGIFCONF_GIVES_ADDR
11 #define HAVE_GETIPNODEBYNAME 1
12 #define HAVE_GETIPNODEBYADDR 1
15 #define LOAD_AVG_KSTAT "system_misc"
16 #define LOAD_AVG_KSTAT_MODULE "unix"
17 #define LOAD_AVG_SYMBOL "avenrun_1min"
18 #define LOAD_AVG_FIELD value.ui32
20 #define os_strsignal strsignal
23 /* This is needed for some early Solaris releases, but causes trouble
24 in the current ones, so it is out by default. */
26 /* #define EXIM_SOCKLEN_T size_t */
28 /* This is different from Linux and all other PAM implementations,
31 #define PAM_CONVERSE_ARG2_TYPE struct pam_message