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:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user