summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/embed-glsl.cpp.m42
-rw-r--r--lib/strlen.h (renamed from lib/strings.h)1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/embed-glsl.cpp.m4 b/lib/embed-glsl.cpp.m4
index 3503f75..8407132 100644
--- a/lib/embed-glsl.cpp.m4
+++ b/lib/embed-glsl.cpp.m4
@@ -3,7 +3,7 @@ changecom()dnl
#include "substr(TYPE,1)-NAME.h"
#include <GL/glew.h>
#include "gfx/gl/shader.h"
-#include "lib/strings.h"
+#include "lib/strlen.h"
constexpr const GLchar * src { R"GLSL-EMBED(dnl
include(SOURCE))GLSL-EMBED" };
diff --git a/lib/strings.h b/lib/strlen.h
index 9dca9ac..0053cce 100644
--- a/lib/strings.h
+++ b/lib/strlen.h
@@ -1,6 +1,7 @@
#pragma once
#include <GL/glew.h>
+#include <cstddef>
constexpr auto
constexpr_strlen(const GLchar * const s)