summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-23 22:36:25 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:43 +0100
commitdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch)
tree091f564418533267369d993f554e939c7351f4d6 /src/mir_core
parent1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff)
guard headers
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/miranda.h2
-rw-r--r--src/mir_core/src/stdafx.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mir_core/src/miranda.h b/src/mir_core/src/miranda.h
index 9337590baf..adfd3ee846 100644
--- a/src/mir_core/src/miranda.h
+++ b/src/mir_core/src/miranda.h
@@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
extern "C"
{
MIR_CORE_DLL(int) Langpack_MarkPluginLoaded(PLUGININFOEX* pInfo);
diff --git a/src/mir_core/src/stdafx.h b/src/mir_core/src/stdafx.h
index e8be433402..40e75635d6 100644
--- a/src/mir_core/src/stdafx.h
+++ b/src/mir_core/src/stdafx.h
@@ -22,6 +22,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
#define INCL_WINSOCK_API_TYPEDEFS 1
#include <winsock2.h>