diff -N -c -r -X exclude_files squid-1.0.beta8/src/squid.h squid-1.0.beta8.henrik/src/squid.h *** squid-1.0.beta8/src/squid.h Fri May 17 23:14:50 1996 --- squid-1.0.beta8.henrik/src/squid.h Mon May 20 21:31:42 1996 *************** *** 114,119 **** --- 114,129 ---- #if !defined(INADDR_NONE) #define INADDR_NONE 0xffffffff + #endif + + #if !defined(HAVE_RUSAGE) && defined(_SQUID_HPUX_) + #define HAVE_RUSAGE + #define getrusage(a, b) syscall(SYS_GETRUSAGE, a, b) + #endif + + #if !defined(HAVE_GETPAGESIZE) && defined(_SQUID_HPUX_) + #define HAVE_GETPAGESIZE + #define getpagesize( ) sysconf(_SC_PAGE_SIZE) #endif #ifndef BUFSIZ diff -N -c -r -X exclude_files squid-1.0.beta8/src/stat.c squid-1.0.beta8.henrik/src/stat.c *** squid-1.0.beta8/src/stat.c Fri May 17 23:14:51 1996 --- squid-1.0.beta8.henrik/src/stat.c Mon May 20 21:37:42 1996 *************** *** 7,17 **** #include "squid.h" - #ifdef _SQUID_HPUX_ - #define getrusage(a, b) syscall(SYS_GETRUSAGE, a, b) - #define getpagesize( ) sysconf(_SC_PAGE_SIZE) - #endif /* _SQUID_HPUX_ */ - extern int emulate_httpd_log; #define MAX_LINELEN (4096) --- 7,12 ----