patch-gnu_getopt_c 407 B

12345678910111213141516
  1. $OpenBSD: patch-gnu_getopt_c,v 1.1 2009/03/15 21:23:09 jasper Exp $
  2. Include missing header to fix 64-bit issues.
  3. --- gnu/getopt.c.orig Sun Mar 15 22:22:03 2009
  4. +++ gnu/getopt.c Sun Mar 15 22:22:13 2009
  5. @@ -31,6 +31,8 @@
  6. #include <config.h>
  7. #endif
  8. +#include <string.h>
  9. +
  10. #if !defined (__STDC__) || !__STDC__
  11. /* This is a separate conditional since some stdc systems
  12. reject `defined (const)'. */