[gimp] script-fu build fix for Windows
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] script-fu build fix for Windows
- Date: Mon, 5 Jul 2010 07:00:03 +0000 (UTC)
commit 6bfe88ae17f02190145a2d65679db66632143052
Author: Tor Lillqvist <tml iki fi>
Date: Mon Jul 5 09:59:34 2010 +0300
script-fu build fix for Windows
plug-ins/script-fu/script-fu-server.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/script-fu-server.c b/plug-ins/script-fu/script-fu-server.c
index c158fa0..5764ffc 100644
--- a/plug-ins/script-fu/script-fu-server.c
+++ b/plug-ins/script-fu/script-fu-server.c
@@ -35,7 +35,15 @@
#include <glib.h>
#ifdef G_OS_WIN32
+#define _WIN32_WINNT 0x0502
#include <winsock2.h>
+#include <ws2tcpip.h>
+#ifndef AI_ADDRCONFIG
+/* Missing from mingw headers, but value is publicly documented
+ * on http://msdn.microsoft.com/en-us/library/ms737530%28v=VS.85%29.aspx
+ */
+#define AI_ADDRCONFIG 0x0400
+#endif
#include <libgimpbase/gimpwin32-io.h>
#else
#include <sys/socket.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]