diff options
| -rw-r--r-- | exception_lists/packaging | 1 | ||||
| -rw-r--r-- | usr/src/pkg/manifests/system-header.mf | 1 | ||||
| -rw-r--r-- | usr/src/uts/common/inet/cc.h | 6 |
3 files changed, 6 insertions, 2 deletions
diff --git a/exception_lists/packaging b/exception_lists/packaging index 2eed471207..ac8ae81cd7 100644 --- a/exception_lists/packaging +++ b/exception_lists/packaging @@ -137,7 +137,6 @@ usr/lib/llib-like.ln usr/lib/amd64/llib-like.ln i386 usr/lib/sparcv9/llib-like.ln sparc # -usr/include/inet/cc.h usr/include/inet/ip_impl.h usr/include/inet/ip_ndp.h usr/include/inet/ip2mac_impl.h 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 <lstewart@freebsd.org> * 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_ */ |
