1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Include the required C header assert.h
Otherwise, my SWIG-generated files won't compile with Octave 10.
Author: Andrea L <andrea.latina@cern.ch>
Origin: upstream https://github.com/swig/swig/commit/4bec608663c6035bce3867cfeb064bf779c769d7
Bug-Debian: https://bugs.debian.org/1114586
Forwarded: not-needed
Reviewed-By: Rafael Laboissière <rafael@debian.org>
Last-Update: 2025-09-17
--- swig-4.3.0.orig/Lib/octave/octheaders.hpp
+++ swig-4.3.0/Lib/octave/octheaders.hpp
@@ -12,6 +12,9 @@
#if !defined(SWIG_OCTAVE_OCTHEADERS_HPP)
#define SWIG_OCTAVE_OCTHEADERS_HPP
+// Required C header
+#include <assert.h>
+
// Required C++ headers
#include <cstdlib>
#include <climits>
|