summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/net/if_clone.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/net/if_clone.h')
-rw-r--r--freebsd/sys/net/if_clone.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/net/if_clone.h b/freebsd/sys/net/if_clone.h
index 5dceacf6..30d604f3 100644
--- a/freebsd/sys/net/if_clone.h
+++ b/freebsd/sys/net/if_clone.h
@@ -37,6 +37,8 @@
#ifdef _KERNEL
+#include <sys/_eventhandler.h>
+
#define IFC_NOGROUP 0x1
struct if_clone;
@@ -65,11 +67,9 @@ const char *ifc_name(struct if_clone *);
void ifc_flags_set(struct if_clone *, int flags);
int ifc_flags_get(struct if_clone *);
-#ifdef _SYS_EVENTHANDLER_H_
/* Interface clone event. */
typedef void (*if_clone_event_handler_t)(void *, struct if_clone *);
EVENTHANDLER_DECLARE(if_clone_event, if_clone_event_handler_t);
-#endif
/* The below interfaces used only by net/if.c. */
void vnet_if_clone_init(void);