1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 17:43:12 +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>