A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Load system headers before intercepting gettimeofday to not mess up
[simgrid.git]
/
include
/
smpi
/
mpi.h
diff --git
a/include/smpi/mpi.h
b/include/smpi/mpi.h
index 482fa7eba8eb980abc3963a97613aedbccaa8c79..5bfe31a43e4ebe4a4002ce3c63af0aa293616764 100644
(file)
--- a/
include/smpi/mpi.h
+++ b/
include/smpi/mpi.h
@@
-17,6
+17,7
@@
#include <xbt/asserts.h>
#include <simgrid/modelchecker.h>
+#include <sys/time.h> /* Load it before the define next line to not mess with the system headers */
#define gettimeofday(x, y) smpi_gettimeofday(x, NULL)
#ifdef HAVE_MC