Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar
[simgrid.git] / include / smpi / smpi_helpers_internal.h
index 0c78541..8977aa2 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef SMPI_HELPERS_INTERNAL_H
 #define SMPI_HELPERS_INTERNAL_H
 
+#include <getopt.h>
 #include <unistd.h>
 
 #include <sys/time.h>
@@ -25,7 +26,6 @@ int smpi_clock_gettime(clockid_t clk_id, struct timespec* tp);
 unsigned int smpi_sleep(unsigned int secs);
 int smpi_gettimeofday(struct timeval* tv, struct timezone* tz);
 
-struct option;
 int smpi_getopt_long_only(int argc, char* const* argv, const char* options, const struct option* long_options,
                           int* opt_index);
 int smpi_getopt_long(int argc, char* const* argv, const char* options, const struct option* long_options,