Module Name: src
Committed By: pgoyette
Date: Tue Jan 15 10:52:20 UTC 2019
Modified Files:
src/sys/kern [pgoyette-compat]: compat_stub.c
Log Message:
Include appropriate headers to define the sctp routines
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/sys/kern/compat_stub.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/compat_stub.c
diff -u src/sys/kern/compat_stub.c:1.1.2.36 src/sys/kern/compat_stub.c:1.1.2.37
--- src/sys/kern/compat_stub.c:1.1.2.36 Tue Jan 15 04:10:34 2019
+++ src/sys/kern/compat_stub.c Tue Jan 15 10:52:20 2019
@@ -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
*