From 8af74cd10c9568513aec0326231f5228b4782adf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 13 Jun 2013 23:23:36 +0100 Subject: Try to fix build. --- src/lib/cross.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 1f1be907f..b654be6df 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -17,6 +17,8 @@ */ +#include +#include #include "cross.h" #ifdef DVDOMATIC_POSIX #include @@ -50,16 +52,16 @@ cpu_info () info.second = 0; #ifdef DVDOMATIC_LINUX - ifstream f (N_("/proc/cpuinfo")); + ifstream f ("/proc/cpuinfo"); while (f.good ()) { string l; getline (f, l); - if (boost::algorithm::starts_with (l, N_("model name"))) { + if (boost::algorithm::starts_with (l, "model name")) { string::size_type const c = l.find (':'); if (c != string::npos) { info.first = l.substr (c + 2); } - } else if (boost::algorithm::starts_with (l, N_("processor"))) { + } else if (boost::algorithm::starts_with (l, "processor")) { ++info.second; } } -- cgit v1.2.3