]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix enter_suid/leave_suid build errors in ip/Intercept.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Apr 2013 12:42:12 +0000 (06:42 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Apr 2013 12:42:12 +0000 (06:42 -0600)
commit0d3ac492bf0ecf5431072cadc467b7fba8c0e77c
tree176054cc9c0c146511d2e6ccbec37132ab33ca08
parent83bc5256edbdfb17c72c835236b83ebf23637077
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.
src/ip/Intercept.cc