From 8f97fda43d3ec24e515449b83c8a970b9042030a Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Thu, 26 Sep 2019 09:25:02 +0000 Subject: 11752 inet/cc.h should be shipped Reviewed by: Toomas Soome Reviewed by: Matthias Scheler Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/pkg/manifests/system-header.mf | 1 + usr/src/uts/common/inet/cc.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'usr/src') diff --git a/usr/src/pkg/manifests/system-header.mf b/usr/src/pkg/manifests/system-header.mf index acefdb0222..12f1a5a4df 100644 --- a/usr/src/pkg/manifests/system-header.mf +++ b/usr/src/pkg/manifests/system-header.mf @@ -402,6 +402,7 @@ file path=usr/include/idmap.h file path=usr/include/ieeefp.h file path=usr/include/ifaddrs.h file path=usr/include/inet/arp.h +file path=usr/include/inet/cc.h file path=usr/include/inet/common.h file path=usr/include/inet/ip.h file path=usr/include/inet/ip6.h diff --git a/usr/src/uts/common/inet/cc.h b/usr/src/uts/common/inet/cc.h index 170d0e7f8b..d92535cd48 100644 --- a/usr/src/uts/common/inet/cc.h +++ b/usr/src/uts/common/inet/cc.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2007-2008 - * Swinburne University of Technology, Melbourne, Australia. + * Swinburne University of Technology, Melbourne, Australia. * Copyright (c) 2009-2010 Lawrence Stewart * Copyright (c) 2010 The FreeBSD Foundation * All rights reserved. @@ -52,6 +52,8 @@ #ifndef _NETINET_CC_H_ #define _NETINET_CC_H_ +#if (defined(_KERNEL) || defined(_KMEMUSER)) + #ifdef __cplusplus extern "C" { #endif @@ -211,4 +213,6 @@ extern int cc_walk_algos(cc_walk_func_t *, void *); } #endif +#endif /* (defined(_KERNEL) || defined(_KMEMUSER)) */ + #endif /* _NETINET_CC_H_ */ -- cgit v1.2.3