30 lines
685 B
Plaintext
30 lines
685 B
Plaintext
$OpenBSD: patch-keama_keama_c,v 1.2 2021/02/01 22:01:16 sthen Exp $
|
|
|
|
From c666652e10e28558ed7b2b0025bf193478e98030 Mon Sep 17 00:00:00 2001
|
|
From: Francis Dupont <fdupont@isc.org>
|
|
Date: Fri, 3 Jul 2020 15:24:32 +0200
|
|
Subject: [PATCH] Fixed gcc10 build
|
|
|
|
Index: keama/keama.c
|
|
--- keama/keama.c.orig
|
|
+++ keama/keama.c
|
|
@@ -22,6 +22,8 @@
|
|
*/
|
|
|
|
#include <sys/errno.h>
|
|
+#include <sys/socket.h>
|
|
+#include <errno.h>
|
|
#include <arpa/inet.h>
|
|
#include <assert.h>
|
|
#include <fcntl.h>
|
|
@@ -46,6 +48,9 @@ usage(const char *sfmt, const char *sarg) {
|
|
fputs(KEAMA_USAGE, stderr);
|
|
exit(1);
|
|
}
|
|
+
|
|
+enum resolve resolve;
|
|
+struct parses parses;
|
|
|
|
int local_family = 0;
|
|
char *hook_library_path = NULL;
|