From 8d587ab8f1210059aafa2a747d1b80598c70d905 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 10 Oct 2014 09:54:57 +1100 Subject: [PATCH] Fixed windows compilation. --- src/config/hardware_stats.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config/hardware_stats.cpp b/src/config/hardware_stats.cpp index 9e69bc3e1..275cb71a0 100644 --- a/src/config/hardware_stats.cpp +++ b/src/config/hardware_stats.cpp @@ -32,8 +32,10 @@ #include #include #include -#include // To get BSD macro -#include +#ifndef WIN32 +# include // To get BSD macro +# include +#endif #include