summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/netinet
diff options
context:
space:
mode:
authornh145002 <none@none>2007-04-20 14:52:21 -0700
committernh145002 <none@none>2007-04-20 14:52:21 -0700
commita8d26fb6e548eaca947efd01828081f72750fc0b (patch)
treea3bfa600e399d5e2e00c5dc52ae5912ce9590ba1 /usr/src/uts/common/netinet
parent8ef5f9c7176ceb1a2759764e9bfa99fe1ce4384b (diff)
downloadillumos-joyent-a8d26fb6e548eaca947efd01828081f72750fc0b.tar.gz
6534590 UNIX03/UNIX98: *vsx* PROTO_SDP symbol exposed in Standards namespace
Diffstat (limited to 'usr/src/uts/common/netinet')
-rw-r--r--usr/src/uts/common/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/netinet/in.h b/usr/src/uts/common/netinet/in.h
index 4b5f76767b..46d89499ee 100644
--- a/usr/src/uts/common/netinet/in.h
+++ b/usr/src/uts/common/netinet/in.h
@@ -174,7 +174,9 @@ typedef uint16_t sa_family_t;
#define IPPROTO_RAW 255 /* raw IP packet */
#define IPPROTO_MAX 256
+#if !defined(_XPG4_2) || defined(__EXTENSIONS__)
#define PROTO_SDP 257 /* Sockets Direct Protocol */
+#endif /* !defined(_XPG4_2) || defined(__EXTENSIONS__) */
/*
* Port/socket numbers: network standard functions