]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Compatibility with Debian Lenny
authorvsr <vsr@opencascade.com>
Thu, 14 Oct 2010 05:48:40 +0000 (05:48 +0000)
committervsr <vsr@opencascade.com>
Thu, 14 Oct 2010 05:48:40 +0000 (05:48 +0000)
src/hxx2salome.cpp

index 1640666118b1c109fb8e38ab38a7a250eda18d2b..50640eefe42aed0f0aec38242ba31a91a97711b0 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "hxx2salome.h"
 
+#include <stdlib.h>
+
 // VSR: uncomment for debug mode
 // #define __DEBUG__
 
@@ -244,6 +246,6 @@ void HXX2Salome::on_GenerateButton_clicked()
   printf( "command: %s\n", qPrintable( command ) );
 #endif
   QApplication::setOverrideCursor( Qt::WaitCursor );
-  std::system( command.toLatin1().constData() );
+  system( command.toLatin1().constData() );
   QApplication::restoreOverrideCursor();
 }