]> git.pld-linux.org Git - packages/squid.git/blame - squid-3.0.PRE3-Solaris-gethostname.patch
- fix for TCP connection closing after blank HTTP response
[packages/squid.git] / squid-3.0.PRE3-Solaris-gethostname.patch
CommitLineData
36aa8c36
JR
1Index: squid3/src/protos.h
2diff -c squid3/src/protos.h:1.490 squid3/src/protos.h:1.491
3*** squid3/src/protos.h:1.490 Sun Aug 10 05:00:44 2003
4--- squid3/src/protos.h Sun Aug 17 07:42:04 2003
5***************
6*** 1041,1047 ****
7--- 1041,1050 ----
8
9 SQUIDCEXTERN int getrusage(int, struct rusage *);
10 SQUIDCEXTERN int getpagesize(void);
11+ #if !defined(_XPG4_2) && !(defined(__EXTENSIONS__) || \
12+ (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)))
13 SQUIDCEXTERN int gethostname(char *, int);
14+ #endif
15 #endif
16
17 /*
This page took 0.087891 seconds and 4 git commands to generate.