examples: #include <cstring> in calc++

strerror is defined by <string.h>, and recent versions of GNU libstdc++
no longer include this automatically from <string>.
This commit is contained in:
Adam Sampson
2018-10-31 14:01:31 +00:00
committed by Akim Demaille
parent f8cadc731b
commit 3bf429aed8
2 changed files with 2 additions and 0 deletions

1
THANKS
View File

@@ -3,6 +3,7 @@ it is today without the invaluable help of these people:
Aaro Koskinen aaro.koskinen@iki.fi
Аскар Сафин safinaskar@mail.ru
Adam Sampson ats@offog.org
Airy Andre Airy.Andre@edf.fr
Akim Demaille akim@lrde.epita.fr
Albert Chin-A-Young china@thewrittenword.com

View File

@@ -11810,6 +11810,7 @@ then the parser's to get the set of defined tokens.
# include <cerrno>
# include <climits>
# include <cstdlib>
# include <cstring> // strerror
# include <string>
# include "driver.hh"
# include "parser.hh"