summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84f0fd4)
On openindiana, getopt() is declared in <stdio.h>, <stdlib.h>, and <unistd.h>.
Include all of them to avoid build errors when it's #define'd to smpi_getopt.
#define SMPI_HELPERS_INTERNAL_H
#include <getopt.h>
#define SMPI_HELPERS_INTERNAL_H
#include <getopt.h>
+#include <stdio.h> /* for getopt(), don't remove */
+#include <stdlib.h> /* for getopt(), don't remove */
#include <unistd.h>
#include <sys/time.h>
#include <unistd.h>
#include <sys/time.h>