summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2018-02-12 19:28:16 -0500
committerFrédéric Brière <fbriere@fbriere.net>2019-12-29 02:39:51 -0500
commit87e996aaebdae6e2f07c8aa650b4eebdd00f0cba (patch)
tree0dbdaa065a964f75b2df296dfc96e45bf65d713f /src
parent4df6baa5ac4c9d96d5209b4f49390dc52a25f09d (diff)
downloadtwinkle-87e996aaebdae6e2f07c8aa650b4eebdd00f0cba.tar
twinkle-87e996aaebdae6e2f07c8aa650b4eebdd00f0cba.tar.gz
twinkle-87e996aaebdae6e2f07c8aa650b4eebdd00f0cba.tar.lz
twinkle-87e996aaebdae6e2f07c8aa650b4eebdd00f0cba.tar.xz
twinkle-87e996aaebdae6e2f07c8aa650b4eebdd00f0cba.zip
CMake: Check for res_init() (HAVE_RES_INIT)
This check (AC_CHECK_RES_INIT) was originally defined in acinclude.m4, and was lost in the transition to CMake.
Diffstat (limited to 'src')
-rw-r--r--src/sockets/dnssrv.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sockets/dnssrv.cpp b/src/sockets/dnssrv.cpp
index 38cd61d..246bf02 100644
--- a/src/sockets/dnssrv.cpp
+++ b/src/sockets/dnssrv.cpp
@@ -11,6 +11,7 @@
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
+#include "twinkle_config.h"
#include <resolv.h>
#include <errno.h>
#include <stdlib.h>