]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/freebsd.h
5 #ifndef SQUID_OS_FREEBSD_H
6 #define SQUID_OS_FREEBSD_H
10 /****************************************************************************
11 *--------------------------------------------------------------------------*
12 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
13 *--------------------------------------------------------------------------*
14 ****************************************************************************/
17 #if USE_ASYNC_IO && defined(LINUXTHREADS)
18 #define _SQUID_LINUX_THREADS_
22 * Don't allow inclusion of malloc.h
24 #if defined(HAVE_MALLOC_H)
31 * This OS has at least one version that defines these as private
32 * kernel macros commented as being 'non-standard'.
33 * We need to use them, much nicer than the OS-provided __u*_*[]
35 //#define s6_addr8 __u6_addr.__u6_addr8
36 //#define s6_addr16 __u6_addr.__u6_addr16
37 #define s6_addr32 __u6_addr.__u6_addr32
40 #endif /* _SQUID_FREEBSD_ */
41 #endif /* SQUID_OS_FREEBSD_H */