Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MSCV] sys/time.h does not exist here
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 13:36:27 +0000 (15:36 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 13:36:27 +0000 (15:36 +0200)
include/simgrid_config.h.in
include/smpi/smpi.h

index 718e659..ba2e972 100644 (file)
@@ -60,6 +60,8 @@
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
 
 /* Define to 1 if you have the <unistd.h> header file. */
 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
 
 /* Define to 1 if mmalloc is compiled in. */
 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
 
 /* Define to 1 if mmalloc is compiled in. */
 #cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@
index 6e12098..a9117e2 100644 (file)
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 
 #include <stddef.h>
 
 #include <stddef.h>
-#include <sys/time.h>
 #include <xbt/misc.h>
 #include <xbt/function_types.h>
 
 #include <xbt/misc.h>
 #include <xbt/function_types.h>