Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try harder to get useconds_t from unistd.h
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Mar 2018 10:19:08 +0000 (11:19 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Mar 2018 10:20:03 +0000 (11:20 +0100)
include/smpi/smpi.h

index 490a9e7..a1ba3a0 100644 (file)
@@ -6,7 +6,9 @@
 #ifndef SMPI_H
 #define SMPI_H
 
+#define __USE_XOPEN /* pick useconds_t in unistd.h */
 #include <unistd.h>
+
 #include <sys/time.h>
 #if _POSIX_TIMERS
 #include <time.h>