File sourcenav-5.1.4-includes.patch of Package Source-Navigator
--- snavigator/hyper/c_high.l
+++ snavigator/hyper/c_high.l
@@ -25,6 +25,7 @@
%{
#include <ctype.h>
+#include <string.h>
#include "highlight.h"
--- snavigator/hyper/ch_high.l
+++ snavigator/hyper/ch_high.l
@@ -41,6 +41,7 @@
#include <ctype.h>
#include "highlight.h"
+#include <string.h>
static long linenumber = 1;
static int charnumber = 0;
--- snavigator/misc/libutils/strs.c
+++ snavigator/misc/libutils/strs.c
@@ -23,6 +23,7 @@
*/
+#include <string.h>
#include "tcl.h"
/*
--- snavigator/parsers/cobol/Parser.c
+++ snavigator/parsers/cobol/Parser.c
@@ -25,6 +25,9 @@
#include "Parser.h"
+#include <stdio.h>
+#include <string.h>
+
#ifdef __cplusplus
extern "C" {
#include "Reuse.h"
@@ -40,8 +43,6 @@
#if defined YYDEBUG | defined lex_interface
#include "Position.h"
#endif
-#include <stdio.h>
-#include <string.h>
}
#else
#include "Reuse.h"
--- snavigator/parsers/cobol/copy_pars.c
+++ snavigator/parsers/cobol/copy_pars.c
@@ -27,6 +27,9 @@
#include "copy_pars.h"
+#include <string.h>
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#include "Reuse.h"
@@ -42,8 +45,6 @@
#if defined YYDEBUG | defined lex_interface
#include "Position.h"
#endif
-#include <stdio.h>
-#include <string.h>
}
#else
#include "Reuse.h"
--- snavigator/parsers/cobol/keywords.c
+++ snavigator/parsers/cobol/keywords.c
@@ -25,6 +25,7 @@
/* Ich, Doktor Josef Grosch, Informatiker, Nov. 1994 */
+#include <string.h>
#include "keywords.h"
#include "keywdef.h"
#include "statdef.h"
--- snavigator/parsers/java/Parser.c
+++ snavigator/parsers/java/Parser.c
@@ -27,6 +27,8 @@
#include "Parser.h"
+#include <string.h>
+
#ifdef __cplusplus
extern "C" {
#include "Reuse.h"
--- snavigator/parsers/java/Trafo.c
+++ snavigator/parsers/java/Trafo.c
@@ -24,6 +24,9 @@
*/
#include "Trafo.h"
+
+#include <string.h>
+
#ifdef __cplusplus
extern "C" {
#include "General.h"
--- snavigator/parsers/java/Tree.c
+++ snavigator/parsers/java/Tree.c
@@ -24,6 +24,9 @@
*/
#include "Tree.h"
+
+#include <string.h>
+
#ifdef __cplusplus
extern "C" {
#include "Reuse.h"
--- snavigator/parsers/libjcreuse/Errors.c
+++ snavigator/parsers/libjcreuse/Errors.c
@@ -143,6 +143,7 @@
#include "Errors.h"
#include "Reuse.h"
+#include <string.h>
#if HAVE_STDLIB_H | defined _MSC_VER
#include <stdlib.h>
#endif
--- snavigator/parsers/libjcreuse/Position.c
+++ snavigator/parsers/libjcreuse/Position.c
@@ -83,6 +83,7 @@
/* Ich, Doktor Josef Grosch, Informatiker, Juli 1992 */
#include "Position.h"
+#include <string.h>
tPosition NoPosition = {0, 0, 1};
--- snavigator/parsers/libjcreuse/Source.c
+++ snavigator/parsers/libjcreuse/Source.c
@@ -23,6 +23,7 @@
*/
+#include <string.h>
#include <stdio.h>
#include <tcl.h>
--- snavigator/parsers/libjcreuse/StringM.c
+++ snavigator/parsers/libjcreuse/StringM.c
@@ -171,6 +171,7 @@
/* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
+#include <string.h>
#include "Reuse.h"
#include "StringM.h"
#include "General.h"
--- snavigator/parsers/libjcreuse/rSystem.c
+++ snavigator/parsers/libjcreuse/rSystem.c
@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <tcl.h>
+#include <string.h>
#ifndef rfalse
#define rfalse 0
--- snavigator/parsers/tcl/Parser.c
+++ snavigator/parsers/tcl/Parser.c
@@ -26,6 +26,7 @@
/* $Id: Parser.c,v 1.1.1.1 2002/04/18 23:42:03 mdejong Exp $ */
#include "Parser.h"
+#include <string.h>
#ifdef __cplusplus
extern "C" {
@@ -43,7 +44,6 @@
#include "Position.h"
#endif
#include <stdio.h>
-#include <string.h>
}
#else
#include "Reuse.h"
--- snavigator/parsers/tcl/Trafo.c
+++ snavigator/parsers/tcl/Trafo.c
@@ -24,6 +24,9 @@
*/
#include "Trafo.h"
+
+#include <string.h>
+
#ifdef __cplusplus
extern "C" {
#include "General.h"
--- snavigator/parsers/tcl/Tree.c
+++ snavigator/parsers/tcl/Tree.c
@@ -23,6 +23,7 @@
*/
+#include <string.h>
#include "Tree.h"
#ifdef __cplusplus
extern "C" {
--- snavigator/parsers/tcl/itcl.c
+++ snavigator/parsers/tcl/itcl.c
@@ -23,6 +23,7 @@
*/
+#include <string.h>
#include "itcl.h"
#ifdef __cplusplus
extern "C" {