| 1 |
diff -ur metis-5.1.0/GKlib/gk_arch.h metis-5.1.0-ok/GKlib/gk_arch.h |
| 2 |
--- metis-5.1.0/GKlib/gk_arch.h 2013-03-30 17:24:45.000000000 +0100 |
| 3 |
+++ metis-5.1.0-ok/GKlib/gk_arch.h 2019-05-10 11:30:32.667362100 +0200 |
| 4 |
@@ -41,7 +41,9 @@ |
| 5 |
#endif |
| 6 |
#include <inttypes.h> |
| 7 |
#include <sys/types.h> |
| 8 |
- #include <sys/resource.h> |
| 9 |
+#ifndef WIN32 |
| 10 |
+#include <sys/resource.h> |
| 11 |
+#endif |
| 12 |
#include <sys/time.h> |
| 13 |
#endif |
| 14 |
|
| 15 |
diff -ur metis-5.1.0/GKlib/gk_getopt.h metis-5.1.0-ok/GKlib/gk_getopt.h |
| 16 |
--- metis-5.1.0/GKlib/gk_getopt.h 2013-03-30 17:24:45.000000000 +0100 |
| 17 |
+++ metis-5.1.0-ok/GKlib/gk_getopt.h 2019-05-10 11:44:42.218710800 +0200 |
| 18 |
@@ -52,11 +52,11 @@ |
| 19 |
|
| 20 |
|
| 21 |
/* Function prototypes */ |
| 22 |
-extern int gk_getopt(int __argc, char **__argv, char *__shortopts); |
| 23 |
-extern int gk_getopt_long(int __argc, char **__argv, char *__shortopts, |
| 24 |
- struct gk_option *__longopts, int *__longind); |
| 25 |
-extern int gk_getopt_long_only (int __argc, char **__argv, |
| 26 |
- char *__shortopts, struct gk_option *__longopts, int *__longind); |
| 27 |
+extern int gk_getopt(int argc, char **argv, char *shortopts); |
| 28 |
+extern int gk_getopt_long(int argc, char **argv, char *shortopts, |
| 29 |
+ struct gk_option *longopts, int *longind); |
| 30 |
+extern int gk_getopt_long_only (int argc, char **argv, |
| 31 |
+ char *shortopts, struct gk_option *longopts, int *longind); |
| 32 |
|