components/libpcap/Makefile
changeset 5272 28045eab1400
parent 5029 77413b29eb5a
child 5682 94c0ca64c022
--- a/components/libpcap/Makefile	Thu Jan 14 10:01:14 2016 -0800
+++ b/components/libpcap/Makefile	Thu Jan 14 10:17:27 2016 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -46,6 +46,7 @@
 # so we require the following line to add the -m option to CC
 #
 CC += $(CC_BITS)
+CFLAGS += -D_SYS_REGSET_H
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
 CONFIGURE_OPTIONS  +=	--disable-dbus