Salome HOME
Fix compilation error with Python 3.
authorrnv <rnv@opencascade.com>
Thu, 20 Jul 2017 13:54:01 +0000 (16:54 +0300)
committerrnv <rnv@opencascade.com>
Thu, 20 Jul 2017 13:54:01 +0000 (16:54 +0300)
src/py2yacsgui/py2yacsgui.cxx
src/runtime/RuntimeSALOME.hxx

index 107d59d79edb9264c7da863faf5511636b3a9c59..4d9ae26e393aaf3939fe6ded61357c2925fd6f1f 100644 (file)
@@ -16,9 +16,9 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+#include "RuntimeSALOME.hxx"
 #include "Py2YacsDialog.hxx"
 #include <QApplication>
-#include "RuntimeSALOME.hxx"
 #include "Proc.hxx"
 
 #include <iostream>
index b777a36a33ce72d88190a41330c989ea61b56334..f7641d7bfabfd0583e6cb94c4398aafe3839a213 100644 (file)
@@ -19,6 +19,7 @@
 
 #ifndef _RUNTIMESALOME_HXX_
 #define _RUNTIMESALOME_HXX_
+#include <Python.h>
 
 #include "YACSRuntimeSALOMEExport.hxx"
 
@@ -31,7 +32,6 @@
 #undef _XOPEN_SOURCE
 #endif
 
-#include <Python.h>
 #include <omniORB4/CORBA.h>
 #include <omniORBpy.h>
 #include "Runtime.hxx"