]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/solaris.h
5 #ifndef SQUID_OS_SOLARIS_H
6 #define SQUID_OS_SOLARIS_H
11 * On Solaris 9 x86, gcc may includes a "fixed" set of old system
12 * include files that is incompatible with the updated Solaris
15 #if defined(i386) || defined(__i386)
22 #ifndef HAVE_UPAD128_T
31 * prototypes for system function missing from system includes
33 SQUIDCEXTERN
int getrusage(int, struct rusage
*);
37 * prototypes for system function missing from system includes
38 * on some Solaris systems.
40 SQUIDCEXTERN
int getpagesize(void);
41 #if !defined(_XPG4_2) && !(defined(__EXTENSIONS__) || \
42 (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)))
43 SQUIDCEXTERN
int gethostname(char *, int);
48 #endif /* _SQUID_SOLARIS_ */
49 #endif /* SQUID_OS_SOALRIS_H */