summaryrefslogtreecommitdiff
path: root/plugins/Non-IM Contact/src/commonheaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Non-IM Contact/src/commonheaders.h')
-rw-r--r--plugins/Non-IM Contact/src/commonheaders.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Non-IM Contact/src/commonheaders.h b/plugins/Non-IM Contact/src/commonheaders.h
index 08c45935e2..4a61d0a0ed 100644
--- a/plugins/Non-IM Contact/src/commonheaders.h
+++ b/plugins/Non-IM Contact/src/commonheaders.h
@@ -11,6 +11,7 @@
#include <winsock.h>
#include <shlobj.h>
+#include <malloc.h>
#include <stdio.h>
#include <time.h>
#include <stddef.h>
@@ -48,6 +49,7 @@ struct DLGTEMPLATEEX
#include <m_utils.h>
#include <m_ignore.h>
#include <m_netlib.h>
+#include <m_string.h>
#include <win2k.h>
#include "resource.h"
@@ -105,7 +107,7 @@ void ExportContact(MCONTACT hContact);
INT_PTR ImportContacts(WPARAM wParam, LPARAM lParam);
// stringreplacer.c
-int stringReplacer(const char* oldString, char* newString, MCONTACT hContact);
+int stringReplacer(const char *oldString, CMStringA &szNewString, MCONTACT hContact);
void replaceAllStrings(MCONTACT hContact);
void WriteSetting(MCONTACT hContact, char* module1, char* setting1 , char* module12, char* setting2);