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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/ruler.cpp b/src/widgets/ruler.cpp
index e0f0ba680..fab2a0ba9 100644
--- a/src/widgets/ruler.cpp
+++ b/src/widgets/ruler.cpp
@@ -13,9 +13,10 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#include <cstring>
#include <cmath>
#include <cstdio>
-#include <string.h>
+
#include "widget-sizes.h"
#include "desktop-widget.h"
#include "ruler.h"