Mercurial > octave
changeset 30642:b7df783dbe43 stable
Include "octave-config.h" before other headers (bug #61812).
* liboctave/util/lo-ieee.h, liboctave/util/oct-sort.h: If "octave-config.h" is
included, it should appear before any other header. Fix that.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 14 Jan 2022 15:48:34 +0100 |
parents | d162766886ce |
children | 805c443ebf18 beac32c0e9c7 |
files | liboctave/util/lo-ieee.h liboctave/util/oct-sort.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/util/lo-ieee.h Fri Jan 14 08:18:55 2022 +0100 +++ b/liboctave/util/lo-ieee.h Fri Jan 14 15:48:34 2022 +0100 @@ -26,9 +26,9 @@ #if ! defined (octave_lo_ieee_h) #define octave_lo_ieee_h 1 -#include <cmath> +#include "octave-config.h" -#include "octave-config.h" +#include <cmath> #if defined (__cplusplus) extern "C" {
--- a/liboctave/util/oct-sort.h Fri Jan 14 08:18:55 2022 +0100 +++ b/liboctave/util/oct-sort.h Fri Jan 14 15:48:34 2022 +0100 @@ -87,9 +87,9 @@ #if ! defined (octave_oct_sort_h) #define octave_oct_sort_h 1 -#include <functional> +#include "octave-config.h" -#include "octave-config.h" +#include <functional> #include "lo-traits.h"