From 0cce69b02b7e413a20380673dcc860a250fe5fb2 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Sat, 9 Apr 2016 11:01:33 +0200 Subject: [PATCH] Only build this when needed --- source_code/dump_smb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source_code/dump_smb.c b/source_code/dump_smb.c index b9c0b9e..02c896e 100644 --- a/source_code/dump_smb.c +++ b/source_code/dump_smb.c @@ -20,6 +20,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#if defined(DUMP_SMB) + +/*****************************************************************************/ + #include "smbfs.h" /*****************************************************************************/ @@ -4465,3 +4469,7 @@ control_smb_dump(int enable) { dump_smb_enabled = enable; } + +/*****************************************************************************/ + +#endif /* DUMP_SMB */