1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 15:34:47 +02:00

Move dns.h include to unrealircd.h and remove it elsewhere.

Because I need c-ares prototypes in modules.h, for next commit.
[skip ci]
This commit is contained in:
Bram Matthys
2023-11-25 09:05:29 +01:00
parent 6ce1958e1c
commit 55d1398fca
11 changed files with 3 additions and 12 deletions
-4
View File
@@ -1,7 +1,3 @@
/* OMG... OMG! WHAT AN INCLUDE HORROR !!! */
#include <ares.h>
#include <ares_version.h>
typedef enum {
DNSREQ_CLIENT = 1,
DNSREQ_LINKCONF = 2,
+2
View File
@@ -43,6 +43,8 @@
#include <openssl/x509v3.h>
#endif
#include <jansson.h>
#include <ares.h>
#include <ares_version.h>
#include "common.h"
#include "sys.h"
#include <stdio.h>
+1
View File
@@ -30,6 +30,7 @@
#include <fcntl.h>
#include <signal.h>
#include "h.h"
#include "dns.h"
#include "version.h"
#ifdef USE_LIBCURL
#include <curl/curl.h>
-1
View File
@@ -19,7 +19,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
#if !defined(UNREAL_VERSION_TIME)
#error "YOU MUST RUN ./Config WHENEVER YOU ARE UPGRADING UNREAL!!!!"
-1
View File
@@ -18,7 +18,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
ModuleHeader MOD_HEADER
= {
-1
View File
@@ -5,7 +5,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
ModuleHeader MOD_HEADER
= {
-1
View File
@@ -5,7 +5,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
ModuleHeader MOD_HEADER
= {
-1
View File
@@ -6,7 +6,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
#define WEBSOCKET_VERSION "1.1.0"
-1
View File
@@ -26,7 +26,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
int OpenFiles = 0; /* GLOBAL - number of files currently open */
int readcalls = 0;
-1
View File
@@ -20,7 +20,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
extern char *TLSKeyPasswd;
-1
View File
@@ -18,7 +18,6 @@
*/
#include "unrealircd.h"
#include "dns.h"
/* Structs */