From: Arnaud Giersch Date: Thu, 26 Sep 2019 14:33:56 +0000 (+0200) Subject: Fix build on openindiana. X-Git-Tag: v3.24~54 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d1acb8046fe9ab5e13349d95706efda8c7aa01ff Fix build on openindiana. On openindiana, getopt() is declared in , , and . Include all of them to avoid build errors when it's #define'd to smpi_getopt. --- diff --git a/include/smpi/smpi_helpers_internal.h b/include/smpi/smpi_helpers_internal.h index 5a3e4b6a91..6c226fb41a 100644 --- a/include/smpi/smpi_helpers_internal.h +++ b/include/smpi/smpi_helpers_internal.h @@ -7,6 +7,8 @@ #define SMPI_HELPERS_INTERNAL_H #include +#include /* for getopt(), don't remove */ +#include /* for getopt(), don't remove */ #include #include