openwrt-packages/net/openssh/patches/130-implicit_memset_decl_fi...

13 lines
246 B
Diff

--- a/includes.h
+++ b/includes.h
@@ -59,6 +59,9 @@
/*
*-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively
*/
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif