Port lexcalc scan.l to Solaris 10

* examples/c/lexcalc/scan.l: Include errno.h.
This commit is contained in:
Paul Eggert
2019-10-05 01:07:52 -07:00
parent 5709f94a91
commit 41e84cddc7

View File

@@ -4,6 +4,7 @@
%option nodefault noinput nounput noyywrap %option nodefault noinput nounput noyywrap
%{ %{
#include <errno.h> /* errno, ERANGE */
#include <limits.h> /* INT_MIN */ #include <limits.h> /* INT_MIN */
#include <stdlib.h> /* strtol */ #include <stdlib.h> /* strtol */