Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/kern Include appropriate headers to define the...



details:   https://anonhg.NetBSD.org/src/rev/35709e8dd9c1
branches:  pgoyette-compat
changeset: 447538:35709e8dd9c1
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Jan 15 10:52:20 2019 +0000

description:
Include appropriate headers to define the sctp routines

diffstat:

 sys/kern/compat_stub.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 7baa71dba706 -r 35709e8dd9c1 sys/kern/compat_stub.c
--- a/sys/kern/compat_stub.c    Tue Jan 15 04:10:34 2019 +0000
+++ b/sys/kern/compat_stub.c    Tue Jan 15 10:52:20 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_stub.c,v 1.1.2.36 2019/01/15 04:10:34 pgoyette Exp $        */
+/* $NetBSD: compat_stub.c,v 1.1.2.37 2019/01/15 10:52:20 pgoyette Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
 
 #ifdef _KERNEL_OPT
 #include "opt_ntp.h"
+#include "opt_sctp.h"
 #endif
 
 #include <sys/systm.h>
@@ -43,6 +44,10 @@
 #include <sys/timex.h>
 #endif
 
+#ifdef SCTP
+#include <netinet/sctp_asconf.h>
+#endif
+
 /*
  * Routine vectors for compat_50___sys_ntp_gettime
  *



Home | Main Index | Thread Index | Old Index