From 0d3ac492bf0ecf5431072cadc467b7fba8c0e77c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 2 Apr 2013 06:42:12 -0600 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ip/Intercept.cc b/src/ip/Intercept.cc index 182b1f6c61..0dd48456e8 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 -- 2.47.2