694f2c2
From 209f938bc08342aed22c1893f5ab4c64eb255235 Mon Sep 17 00:00:00 2001
694f2c2
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
694f2c2
Date: Tue, 8 Oct 2013 15:47:15 +0200
694f2c2
Subject: [PATCH] Do not include bundled tcpd.h
694f2c2
MIME-Version: 1.0
694f2c2
Content-Type: text/plain; charset=UTF-8
694f2c2
Content-Transfer-Encoding: 8bit
694f2c2
694f2c2
If configured without local tcpwrapper, the server code still included
694f2c2
the bundled tcpd.h.
694f2c2
694f2c2
Signed-off-by: Petr Písař <ppisar@redhat.com>
694f2c2
---
694f2c2
 server/security.c | 2 +-
694f2c2
 1 file changed, 1 insertion(+), 1 deletion(-)
694f2c2
694f2c2
diff --git a/server/security.c b/server/security.c
694f2c2
index bd9e755..257d23c 100644
694f2c2
--- a/server/security.c
694f2c2
+++ b/server/security.c
694f2c2
@@ -10,7 +10,7 @@
694f2c2
 #include "security.h"
694f2c2
 
694f2c2
 #ifdef USE_TCP_WRAPPERS
694f2c2
-#include "../tools/tcpd_wrapper/tcpd.h"
694f2c2
+#include <tcpd.h>
694f2c2
 #include "defines.h"
694f2c2
 #endif /* USE_TCP_WRAPPERS */
694f2c2
 
694f2c2
-- 
694f2c2
1.8.3.1
694f2c2