Skip to content

Instantly share code, notes, and snippets.

@saketkc
Created January 7, 2015 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saketkc/bc71cc3f512318e3dad9 to your computer and use it in GitHub Desktop.
Save saketkc/bc71cc3f512318e3dad9 to your computer and use it in GitHub Desktop.
Patch for compiling antlr2 on linux
--- lib/cpp/antlr/CharScanner.hpp 2015-01-07 00:09:51.747913036 -0800
+++ lib/cpp/antlr/CharScanner.hpp 2015-01-07 00:10:31.883913806 -0800
@@ -11,6 +11,8 @@
#include <antlr/config.hpp>
#include <map>
+#include <cstring>
+#include <stdio.h>
#ifdef HAS_NOT_CCTYPE_H
#include <ctype.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment