lol
1--- a/src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
2+++ a/src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200
3@@ -29,6 +29,7 @@
4 #include <set>
5 #include <sstream>
6 #include <string>
7+#include <cstring>
8 #include <vector>
9 using namespace std;
10
11--- a/src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
12+++ a/src/ci_string.h 2008-05-08 08:51:33.000000000 +0200
13@@ -7,6 +7,7 @@
14 #define __CI_STRING_H__
15
16 #include <string>
17+#include <cstring>
18 #include <ctype.h>
19
20 struct ci_char_traits : public std::char_traits<char>
21--- a/src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
22+++ a/src/prefs.cc 2008-05-08 08:51:54.000000000 +0200
23@@ -13,6 +13,7 @@
24 #include <fstream>
25 #include <iostream>
26 #include <stdio.h>
27+#include <stdlib.h>
28
29 #include <list>
30
31--- a/src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
32+++ a/src/main.cc 2008-05-08 09:03:11.000000000 +0200
33@@ -14,6 +14,7 @@
34 #include <gdk/gdkkeysyms.h>
35
36 #include <string>
37+#include <cstring>
38 #include <iostream>
39 #include <sstream>
40 #include <vector>
41
42--- a/src/gtkcompletionline.cc.orig 2009-06-19 22:38:14.000000000 +0400
43+++ a/src/gtkcompletionline.cc 2009-06-19 22:37:14.000000000 +0400
44@@ -376,7 +377,7 @@
45 return 0;
46 }
47
48-int my_alphasort(const void* va, const void* vb) {
49+int my_alphasort(const dirent** va, const dirent** vb) {
50 const struct dirent** a = (const struct dirent**)va;
51 const struct dirent** b = (const struct dirent**)vb;