Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ntp/ntpd include <isc/net.h> so that -UWANT_IPV6 compil...



details:   https://anonhg.NetBSD.org/src/rev/b12f604a5600
branches:  trunk
changeset: 572668:b12f604a5600
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jan 10 02:14:46 2005 +0000

description:
include <isc/net.h> so that -UWANT_IPV6 compiles correctly.

diffstat:

 dist/ntp/ntpd/ntp_intres.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a6687b3d6014 -r b12f604a5600 dist/ntp/ntpd/ntp_intres.c
--- a/dist/ntp/ntpd/ntp_intres.c        Mon Jan 10 02:10:47 2005 +0000
+++ b/dist/ntp/ntpd/ntp_intres.c        Mon Jan 10 02:14:46 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_intres.c,v 1.4 2003/12/04 16:23:37 drochner Exp $  */
+/*     $NetBSD: ntp_intres.c,v 1.5 2005/01/10 02:14:46 lukem Exp $     */
 
 /*
  * ripped off from ../ntpres/ntpres.c by Greg Troxel 4/2/92
@@ -29,6 +29,10 @@
 #include "ntp_stdlib.h"
 #include "ntp_syslog.h"
 
+/* Don't include ISC's version of IPv6 variables and structures */
+#define ISC_IPV6_H 1
+#include <isc/net.h>
+
 #include <stdio.h>
 #include <ctype.h>
 #include <netdb.h>



Home | Main Index | Thread Index | Old Index