diff --git a/examples/c/bistromathic/Makefile b/examples/c/bistromathic/Makefile index c1ac6887..6fbdad44 100644 --- a/examples/c/bistromathic/Makefile +++ b/examples/c/bistromathic/Makefile @@ -14,7 +14,8 @@ LDFLAGS = -L/opt/local/lib BISON_LOCALEDIR = $(shell $(BISON) $(BISON_FLAGS) --print-localedir) CPPFLAGS += -DENABLE_NLS -DBISON_LOCALEDIR='"$(BISON_LOCALEDIR)"' -LIBS = -lreadline -lintl +LIBS = -lreadline -lm all: $(BASE) diff --git a/examples/c/bistromathic/parse.y b/examples/c/bistromathic/parse.y index 925e06f5..b47e859b 100644 --- a/examples/c/bistromathic/parse.y +++ b/examples/c/bistromathic/parse.y @@ -7,6 +7,7 @@ #include // printf #include // calloc #include // strcmp + #include #include #include