]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2747: Compile errors on Solaris 10 with 3.1.0.13
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Aug 2009 05:59:46 +0000 (17:59 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 19 Aug 2009 05:59:46 +0000 (17:59 +1200)
need to include sys/resource.h

compat/os/solaris.h

index f5afee1d3dda45c58d28980deb132a2168b74206..7c63a9bf51adb26193307d4a9b0bc6e5ab7d9d07 100644 (file)
@@ -30,6 +30,7 @@ typedef union {
 /**
  * prototypes for system function missing from system includes
  */
+#include <sys/resource.h>
 SQUIDCEXTERN int getrusage(int, struct rusage *);