changeset 19116:96df707c7dad

Do not include system header files in extern "C" block (bug #43171) * quit.h: Include system header files (which may be provided by gnulib and may have C++-isms) outside of the extern "C" block.
author Johannes Zarl <johannes.zarl@jku.at>
date Thu, 11 Sep 2014 20:52:27 -0400
parents d59d052c9858
children 89ba3b13e6a5
files liboctave/cruft/misc/quit.h
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/cruft/misc/quit.h	Thu Sep 11 16:07:12 2014 -0400
+++ b/liboctave/cruft/misc/quit.h	Thu Sep 11 20:52:27 2014 -0400
@@ -23,16 +23,16 @@
 #if !defined (octave_quit_h)
 #define octave_quit_h 1
 
+#include <stdio.h>
+
+#include <signal.h>
+#include <setjmp.h>
+
 #ifdef __cplusplus
 #include <new>
 extern "C" {
 #endif
 
-#include <stdio.h>
-
-#include <signal.h>
-#include <setjmp.h>
-
 #if defined (__WIN32__) && ! defined (_POSIX_VERSION)
 
 #define WIN32_LEAN_AND_MEAN