changeset 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 16418ff39a72
children 58018d0e9a71
files liboctave/util/lo-cutils.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/lo-cutils.h	Fri Jan 11 22:06:39 2013 -0500
+++ b/liboctave/util/lo-cutils.h	Fri Jan 11 22:12:12 2013 -0500
@@ -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 *));