From 13d3bcf1d0827d5b560be335ad3173ce1c3b0f77 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 Aug 2023 14:40:33 +0200 Subject: [PATCH] cf/make-proto.pl: make JSON:PP optional Signed-off-by: Stefan Metzmacher --- cf/make-proto.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index 4af21916b..21f341c0f 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -4,8 +4,6 @@ use Getopt::Std; use File::Compare; -use JSON::PP - my $comment = 0; my $doxygen = 0; my $funcdoc = 0; @@ -67,6 +65,8 @@ if($opt_m) { } if($opt_x) { + require JSON::PP; + my $EXP; local $/; open(EXP, '<', $opt_x) || die "open ${opt_x}";