slightly more "fun" than expected thanks to the unsigned int -> size_t change, which requires some other ports to stay in synch
16 lines
342 B
Plaintext
16 lines
342 B
Plaintext
$OpenBSD: patch-lib_getopt_c,v 1.2 2018/01/19 23:01:41 espie Exp $
|
|
|
|
Include missing header to fix 64-bit issues.
|
|
|
|
Index: lib/getopt.c
|
|
--- lib/getopt.c.orig
|
|
+++ lib/getopt.c
|
|
@@ -29,6 +29,7 @@
|
|
#include <config.h>
|
|
#endif
|
|
|
|
+#include <string.h>
|
|
#include <stdio.h>
|
|
|
|
/* Comment out all this code if we are using the GNU C Library, and are not
|