aboutsummaryrefslogtreecommitdiff
path: root/print-nfs.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2024-03-27 23:37:08 +0100
committerfxlb <devel.fx.lebail@orange.fr>2024-03-28 05:34:34 +0000
commit94a3708f00f658994293a440fbbb7e71e2047a0f (patch)
tree65c07826485322998515674e8c45ce999da61d2e /print-nfs.c
parent67a4492f9d0e3082c8f1456fd7714f4eb9479524 (diff)
downloadtcpdump-94a3708f00f658994293a440fbbb7e71e2047a0f.tar.gz
Include <config.h> unconditionally
Builds using Autotools or CMake generate config.h, thus remove the '#ifdef HAVE_CONFIG_H'/'#endif'. Remove also the 'add_definitions(-DHAVE_CONFIG_H)' in CMakeLists.txt.
Diffstat (limited to 'print-nfs.c')
-rw-r--r--print-nfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/print-nfs.c b/print-nfs.c
index bbce4953..523a0716 100644
--- a/print-nfs.c
+++ b/print-nfs.c
@@ -21,9 +21,7 @@
/* \summary: Network File System (NFS) printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"