]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/netbsd.h
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_OS_NETBSD_H
10 #define SQUID_OS_NETBSD_H
14 /****************************************************************************
15 *--------------------------------------------------------------------------*
16 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
17 *--------------------------------------------------------------------------*
18 ****************************************************************************/
20 /* NetBSD does not provide sys_errlist global for strerror */
21 #define NEED_SYS_ERRLIST 1
24 * This OS has at least one version that defines these as private
25 * kernel macros commented as being 'non-standard'.
26 * We need to use them, much nicer than the OS-provided __u*_*[]
28 //#define s6_addr8 __u6_addr.__u6_addr8
29 //#define s6_addr16 __u6_addr.__u6_addr16
30 #define s6_addr32 __u6_addr.__u6_addr32
32 #endif /* _SQUID_NETBSD_ */
33 #endif /* SQUID_OS_NETBSD_H */