ports/misc/gnugetopt/patches/patch-gnu_getopt_c

14 lines
338 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Include missing header to fix 64-bit issues.
--- gnu/getopt.c.orig Sun Mar 15 22:22:03 2009
+++ gnu/getopt.c Sun Mar 15 22:22:13 2009
@@ -31,6 +31,8 @@
#include <config.h>
#endif
+#include <string.h>
+
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */