wok-next annotate stardict/stuff/stardict_gcc43.patch @ rev 18693

slitaz-icons-faenza: rename applications-science into applications-education (thanks llev)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Dec 13 22:37:22 2015 +0200 (2015-12-13)
parents
children
rev   line source
lufeng369@7378 1 --- stardict-3.0.1/src/Makefile.am.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 2 +++ stardict-3.0.1/src/Makefile.am 2008-02-26 19:35:12.000000000 +0900
lufeng369@7378 3 @@ -14,6 +14,8 @@
lufeng369@7378 4
lufeng369@7378 5 bin_PROGRAMS = stardict
lufeng369@7378 6
lufeng369@7378 7 +DEFAULT_INCLUDES = -I$(top_builddir)
lufeng369@7378 8 +
lufeng369@7378 9 INCLUDES = \
lufeng369@7378 10 $(STARDICT_CFLAGS) \
lufeng369@7378 11 $(LOCAL_SIGCPP_INCLUDE) \
lufeng369@7378 12
lufeng369@7378 13 --- stardict-3.0.1/src/config_file.hpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 14 +++ stardict-3.0.1/src/config_file.hpp 2008-02-26 19:35:00.000000000 +0900
lufeng369@7378 15 @@ -5,7 +5,7 @@
lufeng369@7378 16 #include <list>
lufeng369@7378 17 #include <string>
lufeng369@7378 18
lufeng369@7378 19 -#include "sigc++/sigc++.h"
lufeng369@7378 20 +#include <sigc++/sigc++.h>
lufeng369@7378 21
lufeng369@7378 22 class config_file;
lufeng369@7378 23
lufeng369@7378 24 --- stardict-3.0.1/src/gconf_file.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 25 +++ stardict-3.0.1/src/gconf_file.cpp 2008-02-26 19:37:18.000000000 +0900
lufeng369@7378 26 @@ -22,6 +22,7 @@
lufeng369@7378 27 # include "config.h"
lufeng369@7378 28 #endif
lufeng369@7378 29
lufeng369@7378 30 +#include <memory>
lufeng369@7378 31 #include <glib/gi18n.h>
lufeng369@7378 32
lufeng369@7378 33 #include "gconf_file.hpp"
lufeng369@7378 34
lufeng369@7378 35 --- stardict-3.0.1/src/gtk_iskeyspressed.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 36 +++ stardict-3.0.1/src/gtk_iskeyspressed.cpp 2008-02-26 19:37:35.000000000 +0900
lufeng369@7378 37 @@ -97,7 +97,7 @@
lufeng369@7378 38 GDK_BUTTON5_MASK = 1 << 12,
lufeng369@7378 39 */
lufeng369@7378 40
lufeng369@7378 41 - mask = GdkModifierType(guint(mask) & (1<<13)-1);
lufeng369@7378 42 + mask = GdkModifierType(guint(mask) & ((1<<13)-1));
lufeng369@7378 43
lufeng369@7378 44 mask =
lufeng369@7378 45 GdkModifierType(guint(mask) & ~(GDK_LOCK_MASK | GDK_BUTTON1_MASK | GDK_BUTTON2_MASK |
lufeng369@7378 46
lufeng369@7378 47 --- stardict-3.0.1/src/inifile.cpp.gcc43 2007-08-01 18:43:00.000000000 +0900
lufeng369@7378 48 +++ stardict-3.0.1/src/inifile.cpp 2008-02-26 19:37:51.000000000 +0900
lufeng369@7378 49 @@ -28,6 +28,7 @@
lufeng369@7378 50 #include <cstdio>
lufeng369@7378 51 #include <glib/gi18n.h>
lufeng369@7378 52 #include <glib/gstdio.h>
lufeng369@7378 53 +#include <stdlib.h>
lufeng369@7378 54
lufeng369@7378 55 #include "utils.h"
lufeng369@7378 56
lufeng369@7378 57 --- stardict-3.0.1/src/lib/common.cpp.gcc43 2007-09-25 11:27:24.000000000 +0900
lufeng369@7378 58 +++ stardict-3.0.1/src/lib/common.cpp 2008-02-26 19:34:01.000000000 +0900
lufeng369@7378 59 @@ -24,6 +24,8 @@
lufeng369@7378 60 # include "config.h"
lufeng369@7378 61 #endif
lufeng369@7378 62
lufeng369@7378 63 +#include <cstring>
lufeng369@7378 64 +#include <stdlib.h>
lufeng369@7378 65 #include "common.hpp"
lufeng369@7378 66
lufeng369@7378 67 static void parse_description(const char *p, long len, std::string &description)
lufeng369@7378 68
lufeng369@7378 69 --- stardict-3.0.1/src/lib/data.cpp.gcc43 2007-09-21 10:09:52.000000000 +0900
lufeng369@7378 70 +++ stardict-3.0.1/src/lib/data.cpp 2008-02-26 19:33:38.000000000 +0900
lufeng369@7378 71 @@ -26,6 +26,8 @@
lufeng369@7378 72
lufeng369@7378 73 #include "data.hpp"
lufeng369@7378 74 #include "getuint32.h"
lufeng369@7378 75 +#include <cstring>
lufeng369@7378 76 +#include <cstdio>
lufeng369@7378 77
lufeng369@7378 78
lufeng369@7378 79 DictBase::DictBase()
lufeng369@7378 80
lufeng369@7378 81 --- stardict-3.0.1/src/lib/http_client.cpp.gcc43 2007-09-06 17:29:30.000000000 +0900
lufeng369@7378 82 +++ stardict-3.0.1/src/lib/http_client.cpp 2008-02-26 19:34:27.000000000 +0900
lufeng369@7378 83 @@ -4,6 +4,7 @@
lufeng369@7378 84
lufeng369@7378 85 #include "http_client.h"
lufeng369@7378 86 #include "sockets.hpp"
lufeng369@7378 87 +#include <cstring>
lufeng369@7378 88
lufeng369@7378 89 sigc::signal<void, HttpClient *, const char *> HttpClient::on_error_;
lufeng369@7378 90 sigc::signal<void, HttpClient *> HttpClient::on_response_;
lufeng369@7378 91
lufeng369@7378 92 --- stardict-3.0.1/src/lib/pluginmanager.cpp.gcc43 2007-10-10 12:26:45.000000000 +0900
lufeng369@7378 93 +++ stardict-3.0.1/src/lib/pluginmanager.cpp 2008-02-26 19:34:36.000000000 +0900
lufeng369@7378 94 @@ -1,6 +1,7 @@
lufeng369@7378 95 #include "pluginmanager.h"
lufeng369@7378 96 #include "file.hpp"
lufeng369@7378 97 #include <string>
lufeng369@7378 98 +#include <cstring>
lufeng369@7378 99
lufeng369@7378 100 StarDictPluginBaseObject::StarDictPluginBaseObject(const char *filename, GModule *module_, plugin_configure_func_t configure_func_):
lufeng369@7378 101 plugin_filename(filename), module(module_), configure_func(configure_func_)
lufeng369@7378 102
lufeng369@7378 103 --- stardict-3.0.1/src/lib/stardict_client.cpp.gcc43 2007-10-31 17:32:11.000000000 +0900
lufeng369@7378 104 +++ stardict-3.0.1/src/lib/stardict_client.cpp 2008-02-26 19:34:16.000000000 +0900
lufeng369@7378 105 @@ -25,6 +25,9 @@
lufeng369@7378 106 #include <glib.h>
lufeng369@7378 107 #include <glib/gi18n.h>
lufeng369@7378 108
lufeng369@7378 109 +#include <cstring>
lufeng369@7378 110 +#include <stdlib.h>
lufeng369@7378 111 +#include <cstdio>
lufeng369@7378 112 #include "sockets.hpp"
lufeng369@7378 113 #include "md5.h"
lufeng369@7378 114 #include "getuint32.h"
lufeng369@7378 115
lufeng369@7378 116 --- stardict-3.0.1/src/lib/stddict.cpp.gcc43 2007-10-30 18:06:07.000000000 +0900
lufeng369@7378 117 +++ stardict-3.0.1/src/lib/stddict.cpp 2008-02-26 19:33:46.000000000 +0900
lufeng369@7378 118 @@ -28,6 +28,7 @@
lufeng369@7378 119 # include "config.h"
lufeng369@7378 120 #endif
lufeng369@7378 121
lufeng369@7378 122 +#include <cstring>
lufeng369@7378 123 #include <glib/gi18n.h>
lufeng369@7378 124 #include <glib/gstdio.h>
lufeng369@7378 125
lufeng369@7378 126 --- stardict-3.0.1/src/lib/treedict.cpp.gcc43 2007-09-21 10:09:52.000000000 +0900
lufeng369@7378 127 +++ stardict-3.0.1/src/lib/treedict.cpp 2008-02-26 19:33:52.000000000 +0900
lufeng369@7378 128 @@ -25,6 +25,7 @@
lufeng369@7378 129 # include "config.h"
lufeng369@7378 130 #endif
lufeng369@7378 131
lufeng369@7378 132 +#include <cstring>
lufeng369@7378 133 #include "file.hpp"
lufeng369@7378 134 #include "getuint32.h"
lufeng369@7378 135
lufeng369@7378 136 --- stardict-3.0.1/src/pangoview.cpp.gcc43 2007-09-25 16:11:48.000000000 +0900
lufeng369@7378 137 +++ stardict-3.0.1/src/pangoview.cpp 2008-02-26 19:37:02.000000000 +0900
lufeng369@7378 138 @@ -22,6 +22,7 @@
lufeng369@7378 139 # include "config.h"
lufeng369@7378 140 #endif
lufeng369@7378 141
lufeng369@7378 142 +#include <cstring>
lufeng369@7378 143 #include "gtktextviewpango.h"
lufeng369@7378 144 #include "utils.h"
lufeng369@7378 145 #include "skin.h"//for SkinCursor definition
lufeng369@7378 146
lufeng369@7378 147 --- stardict-3.0.1/src/utils.cpp.gcc43 2007-10-22 11:25:02.000000000 +0900
lufeng369@7378 148 +++ stardict-3.0.1/src/utils.cpp 2008-02-26 19:36:01.000000000 +0900
lufeng369@7378 149 @@ -22,6 +22,7 @@
lufeng369@7378 150 # include "config.h"
lufeng369@7378 151 #endif
lufeng369@7378 152
lufeng369@7378 153 +#include <cstring>
lufeng369@7378 154 #include <glib.h>
lufeng369@7378 155 #include <glib/gi18n.h>
lufeng369@7378 156 #include <cstdlib>
lufeng369@7378 157
lufeng369@7378 158 --- stardict-3.0.1/src/x11_iskeyspressed.hpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 159 +++ stardict-3.0.1/src/x11_iskeyspressed.hpp 2008-02-27 16:16:17.000000000 +0900
lufeng369@7378 160 @@ -5,6 +5,8 @@
lufeng369@7378 161 #include <X11/keysym.h>
lufeng369@7378 162 #include <gtk/gtk.h>
lufeng369@7378 163
lufeng369@7378 164 +#include <memory>
lufeng369@7378 165 +
lufeng369@7378 166 #include "iskeyspressed.hpp"
lufeng369@7378 167
lufeng369@7378 168 typedef enum { SYM, CODE, BUTTON } KeyType_t;
lufeng369@7378 169
lufeng369@7378 170 --- stardict-3.0.1/stardict-plugins/stardict-advertisement-plugin/advertisement.cpp.gcc43 2007-09-21 10:09:53.000000000 +0900
lufeng369@7378 171 +++ stardict-3.0.1/stardict-plugins/stardict-advertisement-plugin/advertisement.cpp 2008-02-26 19:39:34.000000000 +0900
lufeng369@7378 172 @@ -2,6 +2,7 @@
lufeng369@7378 173 #include <glib.h>
lufeng369@7378 174 #include <glib/gi18n.h>
lufeng369@7378 175 #include <glib/gstdio.h>
lufeng369@7378 176 +#include <cstring>
lufeng369@7378 177 #include <string>
lufeng369@7378 178 #include <map>
lufeng369@7378 179 #include <list>
lufeng369@7378 180
lufeng369@7378 181 --- stardict-3.0.1/stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp.gcc43 2007-10-10 18:28:29.000000000 +0900
lufeng369@7378 182 +++ stardict-3.0.1/stardict-plugins/stardict-dictdotcn-plugin/stardict_dictdotcn.cpp 2008-02-26 19:38:56.000000000 +0900
lufeng369@7378 183 @@ -1,5 +1,6 @@
lufeng369@7378 184 #include "stardict_dictdotcn.h"
lufeng369@7378 185 #include <glib/gi18n.h>
lufeng369@7378 186 +#include <cstring>
lufeng369@7378 187 #include <string>
lufeng369@7378 188 #include <list>
lufeng369@7378 189
lufeng369@7378 190 --- stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp.gcc43 2007-09-19 17:27:18.000000000 +0900
lufeng369@7378 191 +++ stardict-3.0.1/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2008-02-26 19:45:43.000000000 +0900
lufeng369@7378 192 @@ -1,6 +1,7 @@
lufeng369@7378 193 #include "stardict_espeak.h"
lufeng369@7378 194 #include <espeak/speak_lib.h>
lufeng369@7378 195 #include <glib/gi18n.h>
lufeng369@7378 196 +#include <cstring>
lufeng369@7378 197
lufeng369@7378 198 static const StarDictPluginSystemInfo *plugin_info = NULL;
lufeng369@7378 199 static std::string voice_engine;
lufeng369@7378 200
lufeng369@7378 201 --- stardict-3.0.1/stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp.gcc43 2007-08-31 16:10:41.000000000 +0900
lufeng369@7378 202 +++ stardict-3.0.1/stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp 2008-02-26 19:45:27.000000000 +0900
lufeng369@7378 203 @@ -1,6 +1,8 @@
lufeng369@7378 204 #include "stardict_gucharmap.h"
lufeng369@7378 205 #include <glib/gi18n.h>
lufeng369@7378 206 #include <gucharmap/gucharmap.h>
lufeng369@7378 207 +#include <stdlib.h>
lufeng369@7378 208 +#include <cstring>
lufeng369@7378 209 #include <string>
lufeng369@7378 210
lufeng369@7378 211 static char *build_dictdata(char type, const char *definition)
lufeng369@7378 212
lufeng369@7378 213 --- stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp.gcc43 2007-09-13 16:51:55.000000000 +0900
lufeng369@7378 214 +++ stardict-3.0.1/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.cpp 2008-02-26 19:41:11.000000000 +0900
lufeng369@7378 215 @@ -1,5 +1,7 @@
lufeng369@7378 216 #include "stardict_html_parsedata.h"
lufeng369@7378 217 #include <glib/gi18n.h>
lufeng369@7378 218 +#include <cstring>
lufeng369@7378 219 +#include <stdlib.h>
lufeng369@7378 220
lufeng369@7378 221 #ifdef _WIN32
lufeng369@7378 222 #include <windows.h>
lufeng369@7378 223
lufeng369@7378 224 --- stardict-3.0.1/stardict-plugins/stardict-man-plugin/stardict_man.cpp.gcc43 2007-09-19 17:30:54.000000000 +0900
lufeng369@7378 225 +++ stardict-3.0.1/stardict-plugins/stardict-man-plugin/stardict_man.cpp 2008-02-26 19:40:22.000000000 +0900
lufeng369@7378 226 @@ -1,5 +1,6 @@
lufeng369@7378 227 #include "stardict_man.h"
lufeng369@7378 228 #include <glib/gi18n.h>
lufeng369@7378 229 +#include <cstring>
lufeng369@7378 230 #include <string>
lufeng369@7378 231
lufeng369@7378 232 static const StarDictPluginSystemInfo *plugin_info = NULL;
lufeng369@7378 233
lufeng369@7378 234 --- stardict-3.0.1/stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp.gcc43 2007-10-25 17:16:37.000000000 +0900
lufeng369@7378 235 +++ stardict-3.0.1/stardict-plugins/stardict-powerword-parsedata-plugin/stardict_powerword_parsedata.cpp 2008-02-26 19:44:06.000000000 +0900
lufeng369@7378 236 @@ -1,4 +1,5 @@
lufeng369@7378 237 #include "stardict_powerword_parsedata.h"
lufeng369@7378 238 +#include <cstring>
lufeng369@7378 239 #include <glib/gi18n.h>
lufeng369@7378 240
lufeng369@7378 241 #ifdef _WIN32
lufeng369@7378 242
lufeng369@7378 243 --- stardict-3.0.1/stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp.gcc43 2007-11-02 17:41:26.000000000 +0900
lufeng369@7378 244 +++ stardict-3.0.1/stardict-plugins/stardict-qqwry-plugin/stardict_qqwry.cpp 2008-02-26 19:45:57.000000000 +0900
lufeng369@7378 245 @@ -1,6 +1,8 @@
lufeng369@7378 246 #include "stardict_qqwry.h"
lufeng369@7378 247 #include <glib/gi18n.h>
lufeng369@7378 248 #include <glib/gstdio.h>
lufeng369@7378 249 +#include <cstring>
lufeng369@7378 250 +#include <stdlib.h>
lufeng369@7378 251 #include <string>
lufeng369@7378 252
lufeng369@7378 253 #ifdef _WIN32
lufeng369@7378 254
lufeng369@7378 255 --- stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp.gcc43 2007-09-19 17:29:21.000000000 +0900
lufeng369@7378 256 +++ stardict-3.0.1/stardict-plugins/stardict-spell-plugin/stardict_spell.cpp 2008-02-26 19:45:13.000000000 +0900
lufeng369@7378 257 @@ -3,6 +3,7 @@
lufeng369@7378 258 #include <glib/gi18n.h>
lufeng369@7378 259 #include <enchant.h>
lufeng369@7378 260 #include <pango/pango.h>
lufeng369@7378 261 +#include <cstring>
lufeng369@7378 262 #include <string>
lufeng369@7378 263 #include <vector>
lufeng369@7378 264
lufeng369@7378 265 --- stardict-3.0.1/stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp.gcc43 2007-09-19 17:34:36.000000000 +0900
lufeng369@7378 266 +++ stardict-3.0.1/stardict-plugins/stardict-update-info-plugin/stardict_update_info.cpp 2008-02-26 19:40:46.000000000 +0900
lufeng369@7378 267 @@ -1,5 +1,7 @@
lufeng369@7378 268 #include "stardict_update_info.h"
lufeng369@7378 269 #include <glib/gi18n.h>
lufeng369@7378 270 +#include <cstring>
lufeng369@7378 271 +#include <stdlib.h>
lufeng369@7378 272
lufeng369@7378 273 #ifdef _WIN32
lufeng369@7378 274 #include <windows.h>
lufeng369@7378 275
lufeng369@7378 276 --- stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp.gcc43 2007-07-10 16:16:15.000000000 +0900
lufeng369@7378 277 +++ stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki2xml.cpp 2008-02-26 19:45:00.000000000 +0900
lufeng369@7378 278 @@ -1,5 +1,6 @@
lufeng369@7378 279 #include "stardict_wiki2xml.h"
lufeng369@7378 280 #include "WIKI2XML.h"
lufeng369@7378 281 +#include <cstring>
lufeng369@7378 282 #include <glib.h>
lufeng369@7378 283
lufeng369@7378 284 std::string wiki2xml(std::string &str)
lufeng369@7378 285
lufeng369@7378 286 --- stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp.gcc43 2007-08-31 15:41:21.000000000 +0900
lufeng369@7378 287 +++ stardict-3.0.1/stardict-plugins/stardict-wiki-parsedata-plugin/stardict_wiki_parsedata.cpp 2008-02-26 19:44:40.000000000 +0900
lufeng369@7378 288 @@ -1,5 +1,6 @@
lufeng369@7378 289 #include "stardict_wiki_parsedata.h"
lufeng369@7378 290 #include "stardict_wiki2xml.h"
lufeng369@7378 291 +#include <cstring>
lufeng369@7378 292 #include <glib/gi18n.h>
lufeng369@7378 293
lufeng369@7378 294 #ifdef _WIN32
lufeng369@7378 295
lufeng369@7378 296 --- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp.gcc43 2007-10-18 10:36:22.000000000 +0900
lufeng369@7378 297 +++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/court_widget.cpp 2008-02-26 19:42:25.000000000 +0900
lufeng369@7378 298 @@ -1,6 +1,7 @@
lufeng369@7378 299 #include "court_widget.h"
lufeng369@7378 300 #include <math.h>
lufeng369@7378 301 #include <list>
lufeng369@7378 302 +#include <cstring>
lufeng369@7378 303
lufeng369@7378 304
lufeng369@7378 305 wnobj::wnobj(partic_t & p, unsigned int t) : _p(p), _t(t), highlight(false)
lufeng369@7378 306
lufeng369@7378 307 --- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp.gcc43 2007-10-15 12:32:04.000000000 +0900
lufeng369@7378 308 +++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet.cpp 2008-02-26 19:42:05.000000000 +0900
lufeng369@7378 309 @@ -1,6 +1,7 @@
lufeng369@7378 310 #include "stardict_wordnet.h"
lufeng369@7378 311 #include "court_widget.h"
lufeng369@7378 312 #include <glib/gi18n.h>
lufeng369@7378 313 +#include <cstring>
lufeng369@7378 314
lufeng369@7378 315 #ifdef _WIN32
lufeng369@7378 316 #include <windows.h>
lufeng369@7378 317
lufeng369@7378 318 --- stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp.gcc43 2007-10-10 18:39:10.000000000 +0900
lufeng369@7378 319 +++ stardict-3.0.1/stardict-plugins/stardict-wordnet-plugin/stardict_wordnet_parsedata.cpp 2008-02-26 19:43:21.000000000 +0900
lufeng369@7378 320 @@ -1,4 +1,5 @@
lufeng369@7378 321 #include "stardict_wordnet_parsedata.h"
lufeng369@7378 322 +#include <cstring>
lufeng369@7378 323 #include <glib/gi18n.h>
lufeng369@7378 324
lufeng369@7378 325 #ifdef _WIN32
lufeng369@7378 326
lufeng369@7378 327 --- stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp.gcc43 2007-08-31 15:41:54.000000000 +0900
lufeng369@7378 328 +++ stardict-3.0.1/stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp 2008-02-26 19:41:36.000000000 +0900
lufeng369@7378 329 @@ -1,5 +1,6 @@
lufeng369@7378 330 #include "stardict_xdxf_parsedata.h"
lufeng369@7378 331 #include <glib/gi18n.h>
lufeng369@7378 332 +#include <cstring>
lufeng369@7378 333
lufeng369@7378 334 #ifdef _WIN32
lufeng369@7378 335 #include <windows.h>
lufeng369@7378 336
lufeng369@7378 337 --- stardict-3.0.1/tests/t_config_file.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 338 +++ stardict-3.0.1/tests/t_config_file.cpp 2008-02-26 19:38:14.000000000 +0900
lufeng369@7378 339 @@ -2,6 +2,7 @@
lufeng369@7378 340 # include "config.h"
lufeng369@7378 341 #endif
lufeng369@7378 342
lufeng369@7378 343 +#include <memory>
lufeng369@7378 344 #include <cerrno>
lufeng369@7378 345 #include <cstdio>
lufeng369@7378 346 #include <cstdlib>
lufeng369@7378 347
lufeng369@7378 348 --- stardict-3.0.1/tests/t_xml.cpp.gcc43 2007-07-10 16:16:04.000000000 +0900
lufeng369@7378 349 +++ stardict-3.0.1/tests/t_xml.cpp 2008-02-26 19:38:04.000000000 +0900
lufeng369@7378 350 @@ -3,6 +3,7 @@
lufeng369@7378 351 #endif
lufeng369@7378 352
lufeng369@7378 353 #include <glib.h>
lufeng369@7378 354 +#include <cstring>
lufeng369@7378 355 #include <cstdlib>
lufeng369@7378 356 #include <string>
lufeng369@7378 357