23607956 tcpdump fix for 22628422 needs tweaking for S11
authorJohn Beck <John.Beck@Oracle.COM>
Fri, 17 Jun 2016 10:46:44 -0700
changeset 6253 0fab514dc553
parent 6252 59460904f488
child 6254 855ddc55437f
23607956 tcpdump fix for 22628422 needs tweaking for S11
components/tcpdump/Makefile
--- a/components/tcpdump/Makefile	Fri Jun 17 10:58:34 2016 -0700
+++ b/components/tcpdump/Makefile	Fri Jun 17 10:46:44 2016 -0700
@@ -36,6 +36,11 @@
 
 include $(WS_MAKE_RULES)/common.mk
 
+ifeq ($(OS_VERSION),5.11)
+# Prevent macro redefinition error
+CFLAGS += -D _NETINET_IP_H
+endif
+
 # Rebuild the configure script so the man pages are normalized.
 COMPONENT_PREP_ACTION = (cd $(@D); autoconf);