From 25f1b0fad2f386faf21f955ea76cbb89e0f7f5a5 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 26 Apr 2013 20:36:33 -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 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 -- 2.47.2