git@sv
/
enscript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Solving incompatible implicit declaration of built-in function 'strlen'
[enscript.git]
/
compat
/
getopt.c
diff --git
a/compat/getopt.c
b/compat/getopt.c
index 752f28a9b7906463808e8290fb16fac42258703f..19f50e1ba4d9c569e600c3dd743bfe405393fb37 100644
(file)
--- a/
compat/getopt.c
+++ b/
compat/getopt.c
@@
-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)'. */