summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/dns/message.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-24 17:57:54 +0000
committerflorian <florian@openbsd.org>2020-02-24 17:57:54 +0000
commit24ff385a28cabf04ee6d045db5a579d2dd9c91c6 (patch)
treea215ceb2b8b2b240f256e1e1d19a8fc4aa543b97 /usr.bin/dig/lib/dns/message.c
parentBump version to 6.6.4 for errata and to match -portable. (diff)
downloadwireguard-openbsd-24ff385a28cabf04ee6d045db5a579d2dd9c91c6.tar.xz
wireguard-openbsd-24ff385a28cabf04ee6d045db5a579d2dd9c91c6.zip
Stop generating rdatastruct.h and put the dns_rdata_* structs for
cname, ns, soa, and tsig directly into rdata.h
Diffstat (limited to 'usr.bin/dig/lib/dns/message.c')
-rw-r--r--usr.bin/dig/lib/dns/message.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/dns/message.c b/usr.bin/dig/lib/dns/message.c
index f24ebe888a2..6c622c96bf6 100644
--- a/usr.bin/dig/lib/dns/message.c
+++ b/usr.bin/dig/lib/dns/message.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: message.c,v 1.15 2020/02/24 16:25:22 florian Exp $ */
+/* $Id: message.c,v 1.16 2020/02/24 17:57:54 florian Exp $ */
/*! \file */
@@ -22,14 +22,14 @@
*** Imports
***/
+#include <sys/socket.h>
+#include <arpa/inet.h>
#include <ctype.h>
#include <stdlib.h>
+#include <string.h>
#include <isc/buffer.h>
-
-
-#include <string.h> /* Required for HP/UX (and others?) */
#include <isc/util.h>
#include <dns/log.h>