Commit Diff
Diff:
555f9cdc93c07d728d0b5037494a0d7e513d4add
3bf81539c20a1328fe82b517f70442e5bd5935a2
Commit:
3bf81539c20a1328fe82b517f70442e5bd5935a2
Tree:
f67cddd75b2ce008db461b8764f2e701d4752e0f
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Thu Jun 6 15:08:00 2019 UTC
Message:
this should make Linux compile again.
blob - 9e3be757dbeb720983ab3088003f4469c540f56c
blob + 984d0ceebdc99d9ac25e6ee3c7c682f4ba79526c
--- axfr.c
+++ axfr.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: axfr.c,v 1.27 2019/06/06 14:56:08 pjp Exp $
+ * $Id: axfr.c,v 1.28 2019/06/06 15:08:00 pjp Exp $
*/
#include <sys/types.h>
@@ -67,6 +67,9 @@
#endif /* __FreeBSD__ */
#endif /* __linux__ */
+#ifndef NTOHS
+#include "endian.h"
+#endif
#include "ddd-dns.h"
#include "ddd-db.h"
blob - 941f5d517fafa707d76a6c3392ba9209ad0bd3b2
blob + 8d9f402fbf56cc55f65cf6cbec66223c2140da8b
--- dddctl.c
+++ dddctl.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: dddctl.c,v 1.63 2019/06/06 14:56:08 pjp Exp $
+ * $Id: dddctl.c,v 1.64 2019/06/06 15:08:00 pjp Exp $
*/
#include <sys/param.h>
@@ -81,6 +81,10 @@
#include <imsg.h>
#endif /* __FreeBSD__ */
#endif /* __linux__ */
+
+#ifndef NTOHS
+#include "endian.h"
+#endif
#include <openssl/bn.h>
#include <openssl/obj_mac.h>
blob - 5bfab49adc82f3d90bfe1af675076af9042f44a1
blob + da68a7a684f467362e1ac1fbeb0bc1530498926f
--- delphinusdnsd.c
+++ delphinusdnsd.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: delphinusdnsd.c,v 1.62 2019/06/06 14:56:08 pjp Exp $
+ * $Id: delphinusdnsd.c,v 1.63 2019/06/06 15:08:00 pjp Exp $
*/
@@ -84,6 +84,10 @@
#include <imsg.h>
#endif /* __FreeBSD__ */
#endif /* __linux__ */
+
+#ifndef NTOHS
+#include "endian.h"
+#endif
#include "ddd-dns.h"
#include "ddd-db.h"
blob - 6c9df0f16076c7145fa3d11b7217445115952370
blob + dd3bda408521bec90dc9ebd546822561dd0b59ee
--- reply.c
+++ reply.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: reply.c,v 1.79 2019/06/06 14:56:08 pjp Exp $
+ * $Id: reply.c,v 1.80 2019/06/06 15:08:00 pjp Exp $
*/
#include <sys/types.h>
@@ -58,6 +58,9 @@
#include <sys/tree.h>
#endif /* __linux__ */
+#ifndef NTOHS
+#include "endian.h"
+#endif
#include <openssl/evp.h>
#include <openssl/hmac.h>
blob - a5be26bce1cd06f2a8c188b25d62f388a0b0f124
blob + d5ea77be6e70bfc2c56bde97a34caf858402f6ac
--- util.c
+++ util.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: util.c,v 1.31 2019/06/06 14:56:08 pjp Exp $
+ * $Id: util.c,v 1.32 2019/06/06 15:08:00 pjp Exp $
*/
#include <sys/types.h>
@@ -69,6 +69,9 @@
#endif /* __FreeBSD__ */
#endif /* __linux__ */
+#ifndef NTOHS
+#include "endian.h"
+#endif
#include <openssl/evp.h>
#include <openssl/hmac.h>
repomaster@centroid.eu