summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-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