openbsd-ports/graphics/feh/patches/patch-src_getopt_c

15 lines
397 B
Plaintext

$OpenBSD: patch-src_getopt_c,v 1.2 2011/09/09 09:51:43 dcoppa Exp $
missing header
--- src/getopt.c.orig Wed Jul 7 11:40:32 2010
+++ src/getopt.c Wed Jul 7 11:40:47 2010
@@ -36,6 +36,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C