mojoshader_effects.c
changeset 1237 da180fe5b4b7
parent 1231 76468460693e
child 1245 ad9a16c8b023
--- a/mojoshader_effects.c	Wed Apr 01 17:11:09 2020 -0400
+++ b/mojoshader_effects.c	Wed Apr 01 17:12:48 2020 -0400
@@ -12,7 +12,9 @@
 
 #ifdef MOJOSHADER_EFFECT_SUPPORT
 
+#ifndef MOJOSHADER_USE_SDL_STDLIB
 #include <math.h>
+#endif /* MOJOSHADER_USE_SDL_STDLIB */
 
 void MOJOSHADER_runPreshader(const MOJOSHADER_preshader *preshader,
                              float *outregs)