Bug 684923 - Fix script-fu build on OpenBSD/NetBSD

Apply patch from Brad Smith which defines AI_ADDRCONFIG
if it doesn't exist.
This commit is contained in:
Michael Natterer
2012-10-02 22:11:27 +02:00
parent 191c2c15ef
commit a2c8759fbf

View File

@ -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>