dns/dns2tcp: fix build on recent curent

This commit is contained in:
Tobias C. Berner 2020-08-28 19:31:35 +00:00
parent ea7cc70e0b
commit 6cacd00970
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546808
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- client/main.c.orig 2020-08-28 19:28:55 UTC
+++ client/main.c
@@ -36,6 +36,8 @@
#include "myerror.h"
#include "dns.h"
+int debug;
+
/**
* @brief main part
* @retval 0 on success

View File

@ -0,0 +1,11 @@
--- common/includes/debug.h.orig 2020-08-28 19:24:48 UTC
+++ common/includes/debug.h
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <time.h>
-int debug;
+extern int debug;
#ifndef _WIN32
#define DPRINTF(level, fmt, args...) \

View File

@ -0,0 +1,11 @@
--- server/main.c.orig 2020-08-28 19:28:55 UTC
+++ server/main.c
@@ -42,6 +42,8 @@
#include "myerror.h"
#include "log.h"
+int debug;
+
int detach_process(t_conf *conf)
{
int fd;