]> git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/netbsd.h
Merge from trunk
[thirdparty/squid.git] / compat / os / netbsd.h
1 #ifndef SQUID_CONFIG_H
2 #include "config.h"
3 #endif
4
5 #ifndef SQUID_OS_NETBSD_H
6 #define SQUID_OS_NETBSD_H
7
8 #ifdef _SQUID_NETBSD_
9
10 /****************************************************************************
11 *--------------------------------------------------------------------------*
12 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
13 *--------------------------------------------------------------------------*
14 ****************************************************************************/
15
16 /* NetBSD does not provide sys_errlist global for strerror */
17 #define NEED_SYS_ERRLIST 1
18
19 /*
20 * This OS has at least one version that defines these as private
21 * kernel macros commented as being 'non-standard'.
22 * We need to use them, much nicer than the OS-provided __u*_*[]
23 */
24 //#define s6_addr8 __u6_addr.__u6_addr8
25 //#define s6_addr16 __u6_addr.__u6_addr16
26 #define s6_addr32 __u6_addr.__u6_addr32
27
28 #endif /* _SQUID_NETBSD_ */
29 #endif /* SQUID_OS_NETBSD_H */