summaryrefslogtreecommitdiff
path: root/include/m_userinfo.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-31 11:12:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-31 11:12:15 +0300
commit0759816934ba1f223451449f2fefad938217017c (patch)
treeb5ac04e0132dca9d6c9189e8a027163980ec992f /include/m_userinfo.h
parent2a68715604212f62d96950341de9fa172c62d8c2 (diff)
headers code cleaning
Diffstat (limited to 'include/m_userinfo.h')
-rw-r--r--include/m_userinfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/m_userinfo.h b/include/m_userinfo.h
index dd623dcadf..9fbd80572a 100644
--- a/include/m_userinfo.h
+++ b/include/m_userinfo.h
@@ -25,6 +25,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_USERINFO_H__
#define M_USERINFO_H__ 1
+#ifndef M_CORE_H__
+#include <m_core.h>
+#endif
+
#include "m_options.h"
//show the User Details dialog box
@@ -72,8 +76,6 @@ All PSN_ WM_NOTIFY messages have PSHNOTIFY.lParam = (LPARAM)hContact
#define PSN_PARAMCHANGED 2
#define PSM_FORCECHANGED (WM_USER+100) //force-send a PSN_INFOCHANGED to all pages
-extern int hLangpack;
-
__forceinline INT_PTR UserInfo_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE* odp)
{ odp->hLangpack = hLangpack;
return CallService("UserInfo/AddPage", wParam, (LPARAM)odp);