ports/print/enscript/patches/patch-compat_getopt_c

14 lines
372 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
warning: incompatible implicit declaration of built-in function 'strlen'
--- compat/getopt.c.orig Sat May 2 10:41:42 2015
+++ compat/getopt.c Sat May 2 10:42:21 2015
@@ -34,6 +34,8 @@
#include <config.h>
#endif
+#include <string.h>
+
#if !defined (__STDC__) || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */