summaryrefslogtreecommitdiff
path: root/plugins/sysinfo/patches/sysinfo-0.1.0a-gcc43.diff
blob: 5430abe511d7146cd56fccb30ba87d6ca98d0d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- utility.h.orig	2005-04-02 23:43:21.000000000 +0200
+++ utility.h	2009-03-01 16:16:28.000000000 +0100
@@ -1,19 +1,20 @@
 #ifndef CUTILITY_H
-#define CUTILITY_H
-
-#include <iostream>
+#define CUTILITY_H
+
+#include <iostream>
 #include <fstream>
-#include <string>
-
-using namespace std;
+#include <string>
+#include <stdlib.h>
+
+using namespace std;
 
 class cUtility {
-	public:
-        static string StrTrim(string sInput);
-        static string StrBeforeChar(string sLine, char cFind);
-        static string StrAfterChar(string sLine, char cFind);
-        static int StrToInt(string sInput);
-		static int CharToInt(char *cInput);
+  public:
+    static string StrTrim(string sInput);
+    static string StrBeforeChar(string sLine, char cFind);
+    static string StrAfterChar(string sLine, char cFind);
+    static int StrToInt(string sInput);
+    static int CharToInt(char *cInput);
 };
 
 #endif // CUTILITY_H