Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smpicc/smpirun no longer require special envirnment variables. also they're now
[simgrid.git] / src / smpi / smpi.h
index 5061bef..f19628c 100644 (file)
@@ -1,3 +1,5 @@
+#include <sys/time.h>
+
 #include <xbt/function_types.h>
 #include <simix/simix.h>
 
@@ -108,7 +110,7 @@ int MPI_Isend(void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI
 int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm);
 
 // smpi functions
-extern int smpi_simulated_main(int argc, char **argv);
+XBT_IMPORT_NO_EXPORT(int) smpi_simulated_main(int argc, char **argv);
 unsigned int smpi_sleep(unsigned int);
 void smpi_exit(int);
 int smpi_gettimeofday(struct timeval *tv, struct timezone *tz);