citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 581091073782d9586d1799ba89dc5f6232065bd1
parent c2fdbffe5b3b427f834ad9fac680b7c80a26b57f
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 11 Dec 2016 20:41:48 -0700

src: move #include <math.h> to where its needed

Diffstat:
Msrc/demo-common.h | 1-
Msrc/gl_font.cc | 1+
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/demo-common.h b/src/demo-common.h @@ -24,7 +24,6 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> -#include <math.h> #include <GL/glew.h> diff --git a/src/gl_font.cc b/src/gl_font.cc @@ -17,6 +17,7 @@ */ #include <assert.h> #include <err.h> +#include <math.h> #include <unordered_map> #include <vector>