#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <arpa/nameser8_compat.h>
#include <stdio.h>
#include <netdb.h>
-#include <resolv8_compat.h>
+
+#include "nameser8_compat.h"
+#include "resolv8_compat.h"
+
#if defined(BSD) && (BSD >= 199103)
# include <string.h>
#else
if ((n = ntohs(cnt))) {
if ((!_res.pfcode) ||
((sflag) && (_res.pfcode & RES_PRF_HEAD1)))
- fprintf(file, hs);
+ fprintf(file, "%s", hs);
while (--n >= 0) {
if ((!_res.pfcode) || sflag) {
cp = p_rr(cp, msg, file);