Mercurial > hg > octave-lyh
diff liboctave/util/lo-cutils.h @ 15930:450e4e60d2c9
* lo-cutils.h: Move sys/types include statement outside of extern C block.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jan 2013 22:12:12 -0500 |
parents | 67d0a59708d1 |
children | 58018d0e9a71 |
line wrap: on
line diff
--- a/liboctave/util/lo-cutils.h +++ b/liboctave/util/lo-cutils.h @@ -23,6 +23,8 @@ #if !defined (octave_liboctave_cutils_h) #define octave_liboctave_cutils_h 1 +#include <sys/types.h> + #ifdef HAVE_LOADLIBRARY_API #define WIN32_LEAN_AND_MEAN #include <windows.h> @@ -32,8 +34,6 @@ extern "C" { #endif -#include <sys/types.h> - OCTAVE_API void octave_qsort (void *base, size_t n, size_t size, int (*cmp) (const void *, const void *));