18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
$OpenBSD: patch-lib_gibber_gibber-resolver_c,v 1.3 2010/09/23 14:37:06 jasper Exp $
|
|
|
|
Use GETSHORT instead of NS_GET16 which comes with libresolv.
|
|
|
|
--- lib/gibber/gibber-resolver.c.orig Wed Aug 18 09:52:58 2010
|
|
+++ lib/gibber/gibber-resolver.c Thu Sep 23 16:33:03 2010
|
|
@@ -34,6 +34,10 @@
|
|
#include "gibber-resolver-asyncns.h"
|
|
#endif
|
|
|
|
+#ifndef NS_GET16
|
|
+# define NS_GET16 GETSHORT
|
|
+#endif
|
|
+
|
|
static GibberResolver *resolver_singleton = NULL;
|
|
static GType resolver_singleton_type = 0;
|
|
|