summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vector.h b/src/vector.h
index d24e91e9b..7d72df517 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -23,7 +23,9 @@
#ifndef VECTOR_H
#define VECTOR_H
+#ifndef USE_SDL2
#include <cmath>
+#endif // USE_SDL2
#include <iostream>