From: Amos Jeffries Date: Sat, 27 Apr 2013 02:36:33 +0000 (-0600) Subject: Fix enter_suid/leave_suid build errors in ip/Intercept.cc X-Git-Tag: SQUID_3_2_10~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25f1b0fad2f386faf21f955ea76cbb89e0f7f5a5;p=thirdparty%2Fsquid.git Fix enter_suid/leave_suid build errors in ip/Intercept.cc Intercept.cc:210: error: 'enter_suid' was not declared in this scope Intercept.cc:217: error: 'leave_suid' was not declared in this scope We should just be including tools.h, but on some GCC the src/tools.h and src/ip/tools.h include locations clash when building inside src/ip/. For now we must reference the src/tools.h by its long path. --- diff --git a/src/ip/Intercept.cc b/src/ip/Intercept.cc index 446b3eacc8..11cfcf13bc 100644 --- a/src/ip/Intercept.cc +++ b/src/ip/Intercept.cc @@ -34,6 +34,7 @@ #include "comm/Connection.h" #include "ip/Intercept.h" #include "fde.h" +#include "src/tools.h" #if IPF_TRANSPARENT