desktop/antlr2/gcc4.4.patch
2017-02-25 17:41:57 +01:00

22 lines
611 B
Diff

diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
--- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
+++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
@@ -10,6 +10,7 @@
#include <antlr/config.hpp>
+#include <cstring>
#include <map>
#ifdef HAS_NOT_CCTYPE_H
--- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
+++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
@@ -10,6 +10,7 @@
#include <antlr/config.hpp>
+#include <cstdio>
#include <cstring>
#include <map>