Mercurial > octave
comparison liboctave/util/oct-glob.cc @ 32079:b0785d76430a
oct-glob.cc: Include "lo-sysdep.h" on all platforms (bug #59711).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 06 May 2023 12:57:46 +0200 |
parents | 632f9b828de1 |
children | 2e484f9f1f18 |
comparison
equal
deleted
inserted
replaced
32078:632f9b828de1 | 32079:b0785d76430a |
---|---|
33 #include "glob-wrappers.h" | 33 #include "glob-wrappers.h" |
34 | 34 |
35 #include "oct-glob.h" | 35 #include "oct-glob.h" |
36 #include "file-ops.h" | 36 #include "file-ops.h" |
37 #include "file-stat.h" | 37 #include "file-stat.h" |
38 #include "lo-sysdep.h" | |
38 #include "unwind-prot.h" | 39 #include "unwind-prot.h" |
39 | 40 |
40 #if defined (OCTAVE_USE_WINDOWS_API) | 41 #if defined (OCTAVE_USE_WINDOWS_API) |
41 # include <windows.h> | 42 # include <windows.h> |
42 # include <shlwapi.h> | 43 # include <shlwapi.h> |
43 # include <wchar.h> | 44 # include <wchar.h> |
44 | |
45 # include "lo-sysdep.h" | |
46 #endif | 45 #endif |
47 | 46 |
48 // These functions are defined here and not in glob_match.cc so that we | 47 // These functions are defined here and not in glob_match.cc so that we |
49 // can include the glob.h file from gnulib, which defines glob to | 48 // can include the glob.h file from gnulib, which defines glob to |
50 // be rpl_glob. If we include glob.h in glob_match.cc, then it | 49 // be rpl_glob. If we include glob.h in glob_match.cc, then it |