From d1acb8046fe9ab5e13349d95706efda8c7aa01ff Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 26 Sep 2019 16:33:56 +0200 Subject: [PATCH] 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. --- include/smpi/smpi_helpers_internal.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1