From c48d3a118e6d849fe3ce928b59c24ebd5b8774a6 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 14 Oct 2010 07:29:11 +0000 Subject: [PATCH] Compatibility with Debian Lenny --- src/hxx2salome.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hxx2salome.cpp b/src/hxx2salome.cpp index 50640ee..474175f 100644 --- a/src/hxx2salome.cpp +++ b/src/hxx2salome.cpp @@ -6,10 +6,9 @@ #include #include +#include #include "hxx2salome.h" -#include - // VSR: uncomment for debug mode // #define __DEBUG__ @@ -246,6 +245,6 @@ void HXX2Salome::on_GenerateButton_clicked() printf( "command: %s\n", qPrintable( command ) ); #endif QApplication::setOverrideCursor( Qt::WaitCursor ); - system( command.toLatin1().constData() ); + std::system( command.toLatin1().constData() ); QApplication::restoreOverrideCursor(); } -- 2.39.2