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

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"