zeek/auxil/vcpkg/ports/gppanel/use-complex-header.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

15 lines
556 B
Diff

diff --git a/include/Fourier.h b/include/Fourier.h
index af55d2a..4283be8 100644
--- a/include/Fourier.h
+++ b/include/Fourier.h
@@ -13,7 +13,8 @@
//==============================================================================
// FORWARD DECLARATION
//==============================================================================
-namespace std { template<class T> class complex; }
+#include <complex>
+
#define SQUARE(real,imag) sqrt((real)*(real)+(imag)*(imag))
//==============================================================================