protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

commit 9c469d86bba8ac6cd7a02ecba6a9d95b6ac676e1
parent b6e2bd34280e6085bce21d509e6a444364991c19
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  4 Aug 2021 09:59:56 -0700

fix maths

Diffstat:
MMakefile | 2++
Msrc/wasm.c | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -3,6 +3,8 @@ CFLAGS = -Wno-error=unused-function -O2 -g -std=gnu90 -Wall -Wextra -Werror \ -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes \ -Wmissing-declarations -Wdeclaration-after-statement -fno-stack-protector +LDFLAGS = -lm + OBJS = src/io.o \ src/parse.o \ src/describe.o \ diff --git a/src/wasm.c b/src/wasm.c @@ -5,6 +5,7 @@ #include "error.h" #include <unistd.h> +#include <math.h> #include <limits.h> #include <stdarg.h> #include <stdio.h>