diff liboctave/util/oct-sort.h @ 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 796f54d4ddbf
children e7fc6251b698
line wrap: on
line diff
--- 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"