summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 2646625..0fe9205 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.45 1997/02/22 09:40:58 peter Exp $
+ * $Id: if.h,v 1.46 1997/05/03 21:07:12 peter Exp $
*/
#ifndef _NET_IF_H_
@@ -199,6 +199,13 @@ struct ifconf {
#define ifc_req ifc_ifcu.ifcu_req /* array of structures returned */
};
+#ifdef KERNEL
+#ifdef MALLOC_DECLARE
+MALLOC_DECLARE(M_IFADDR);
+MALLOC_DECLARE(M_IFMADDR);
+#endif
+#endif
+
/* XXX - this should go away soon */
#ifdef KERNEL
#include <net/if_var.h>
OpenPOWER on IntegriCloud