components/tcpdump/Makefile
changeset 6253 0fab514dc553
parent 6230 126ac13f1547
child 7245 934578b959f0
--- 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);