Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/lib/cpp/antlr/CharScanner.hpp b/lib/cpp/antlr/CharScanner.hpp
2index 8a97e97..1835a3e 100644
3--- a/lib/cpp/antlr/CharScanner.hpp
4+++ b/lib/cpp/antlr/CharScanner.hpp
5@@ -11,6 +11,8 @@
6 #include <antlr/config.hpp>
7
8 #include <map>
9+#include <cstdio>
10+#include <cstring>
11
12 #ifdef HAS_NOT_CCTYPE_H
13 #include <ctype.h>
14diff --git a/scripts/config.make.in b/scripts/config.make.in
15index c23dd5c..6057309 100644
16--- a/scripts/config.make.in
17+++ b/scripts/config.make.in
18@@ -38,7 +38,7 @@ MAKEOVERRIDES := $(patsubst SUBDIRS=%,,$(MAKEOVERRIDES))
19 all clean distclean test install force-target clean-target ::
20 @dirs="$(SUBDIRS)" ; \
21 test -z "$${dirs}" && { \
22- dirs=`/bin/ls` ; \
23+ dirs=`ls` ; \
24 } ; \
25 for d in . $${dirs} ; do \
26 case $${d} in \