From: Martin Quinson Date: Wed, 7 Mar 2018 10:19:08 +0000 (+0100) Subject: try harder to get useconds_t from unistd.h X-Git-Tag: v3.19~139 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/99a8c679fb71cf12be9f2f4ca26f0be47222330e?ds=sidebyside try harder to get useconds_t from unistd.h --- diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 490a9e7b11..a1ba3a0427 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -6,7 +6,9 @@ #ifndef SMPI_H #define SMPI_H +#define __USE_XOPEN /* pick useconds_t in unistd.h */ #include + #include #if _POSIX_TIMERS #include