[gitg] Add missing includes
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Add missing includes
- Date: Wed, 23 Dec 2015 07:54:21 +0000 (UTC)
commit 82337a0bd09cb63fdd61df90482aef5494be5846
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Dec 23 08:46:06 2015 +0100
Add missing includes
This happens for developing on linux something that is for windows
libgitg/gitg-platform-support-win32.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-platform-support-win32.c b/libgitg/gitg-platform-support-win32.c
index ca7f725..debb9fc 100644
--- a/libgitg/gitg-platform-support-win32.c
+++ b/libgitg/gitg-platform-support-win32.c
@@ -21,6 +21,17 @@
#include <gio/gwin32inputstream.h>
+#define SAVE_DATADIR DATADIR
+#undef DATADIR
+#include <io.h>
+#include <conio.h>
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0501
+#endif
+#include <windows.h>
+#define DATADIR SAVE_DATADIR
+#undef SAVE_DATADIR
+
gboolean
gitg_platform_support_use_native_window_controls (GdkDisplay *display)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]