]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/next.h
5 #ifndef SQUID_OS_NEXT_H
6 #define SQUID_OS_NEXT_H
10 /****************************************************************************
11 *--------------------------------------------------------------------------*
12 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
13 *--------------------------------------------------------------------------*
14 ****************************************************************************/
18 * Don't allow inclusion of malloc.h
20 #if defined(HAVE_MALLOC_H)
25 * S_ISDIR() may not be defined on Next
31 #define S_ISDIR(mode) (((mode) & (_S_IFMT)) == (_S_IFDIR))
35 * WAS: lots of special wrappers labeled only 'protect NEXTSTEP'
36 * I'm assuming its an incomplete definition problem on that OS.
37 * Or a missing safety wrapper by the looks of the _SQUID_NETDB_H_
39 * Anyway, this file is included before all general non-type headers.
40 * doing the include here for Next and undefining HAVE_NETDB_H will
41 * save us from including it again in general.
43 // All the hacks included this first without safety wrapping, then netdb.h.
44 #include <netinet/in_systm.h>
49 #define HAVE_NETDB_H 0
52 #endif /* _SQUID_NEXT_ */
53 #endif /* SQUID_OS_NEXT_H */