]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Add missing include for gcc 4.7.0
authorgdd <gdd>
Fri, 22 Jun 2012 16:56:08 +0000 (16:56 +0000)
committergdd <gdd>
Fri, 22 Jun 2012 16:56:08 +0000 (16:56 +0000)
src/ParaMEDMEMTest/MPI2Connector.cxx
src/ParaMEDMEMTest/MPIAccessDECTest.cxx
src/ParaMEDMEMTest/MPIAccessTest.cxx
src/ParaMEDMEMTest/ParaMEDMEMTest.cxx
src/ParaMEDMEMTest/test_MPI_Access_Cancel.cxx
src/ParaMEDMEMTest/test_MPI_Access_IProbe.cxx

index 376a9347d8cf4ada5860e22a1c046d2662e2926c..8535c6f55ba29666114e01e899e8b53515ce208c 100644 (file)
 #include <iostream>
 #include <cstring>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 MPI2Connector::MPI2Connector()
 {
   MPI_Comm_size( MPI_COMM_WORLD, &_nb_proc );
index deef24002ac21869d9ef0bb2122727e4a2933f32..00db437f0dfb4139d6cf07ab58adc3862812a9ab 100644 (file)
 #include <sstream>
 #include <cmath>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 using namespace std;
 
 
index 125ded85a9afd84adae6a694cd7a98ef5575cf14..1b65ee48ad6cd0453f2688c0cfcd10030fd4dbd0 100644 (file)
 #include <sstream>
 #include <cmath>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 using namespace std;
 
 
index 34d71fb9b3670ea1ade9f892afb87a4575b70f17..6ed3770c728432850ed74e998c0fe116d7cb697d 100644 (file)
 #include <stdexcept>
 #include <stdlib.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 //================================================================================
 /*!
  * \brief Get path to the resources file.
index 2cda2fa2515035a558c26d80a4eb5b279e4feeb0..8b21e4f50ace119dcc1b42bcc63f50183e0b3037 100644 (file)
 #include <iostream>
 #include <mpi.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "MPIAccessTest.hxx"
 #include <cppunit/TestAssert.h>
 
index f355f1bf188172ccde51751f39ad61e75a8311da..a45afd9163591a937f59ce7a40e62ed7d777335f 100644 (file)
 #include <iostream>
 #include <mpi.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "MPIAccessTest.hxx"
 #include <cppunit/TestAssert.h>