summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp
index d6ecec5..2c68fd5 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.cpp
+++ b/noncore/settings/sysinfo/benchmarkinfo.cpp
@@ -43,6 +43,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#if defined (__GNUC__) && (__GNUC__ < 3)
+extern double round(double);
+#endif
+
#include "benchmarkinfo.h"