[gimp] Bug 684923 - Fix script-fu build on OpenBSD/NetBSD
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 684923 - Fix script-fu build on OpenBSD/NetBSD
- Date: Tue, 2 Oct 2012 20:12:52 +0000 (UTC)
commit a2c8759fbf1d2ca5f164f36b2f06bdd31fd87e68
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 2 22:11:27 2012 +0200
Bug 684923 - Fix script-fu build on OpenBSD/NetBSD
Apply patch from Brad Smith which defines AI_ADDRCONFIG
if it doesn't exist.
plug-ins/script-fu/script-fu-server.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/script-fu-server.c b/plug-ins/script-fu/script-fu-server.c
index dfe3797..77e1593 100644
--- a/plug-ins/script-fu/script-fu-server.c
+++ b/plug-ins/script-fu/script-fu-server.c
@@ -56,6 +56,10 @@ typedef short sa_family_t; /* Not defined by winsock */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+
+#ifndef AI_ADDRCONFIG
+#define AI_ADDRCONFIG 0
+#endif
#endif
#include <glib/gstdio.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]