summaryrefslogtreecommitdiffstats
path: root/src/widgets/ruler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/ruler.cpp')
-rw-r--r--src/widgets/ruler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/ruler.cpp b/src/widgets/ruler.cpp
index 5eb752377..c4ff1746c 100644
--- a/src/widgets/ruler.cpp
+++ b/src/widgets/ruler.cpp
@@ -14,6 +14,7 @@
*/
#include <cmath>
+#include <cstdio>
#include <string.h>
#include "widget-sizes.h"
#include "ruler.h"