Hi, if_media.c needs net/if_var.h. This fixes the build with IFMEDIA_DEBUG.
Regards, Fabian Index: sys/net/if_media.c =================================================================== RCS file: /cvs/src/sys/net/if_media.c,v retrieving revision 1.24 diff -u -p -r1.24 if_media.c --- sys/net/if_media.c 9 Dec 2014 07:05:06 -0000 1.24 +++ sys/net/if_media.c 21 Jan 2015 22:18:29 -0000 @@ -84,6 +84,7 @@ #include <sys/malloc.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_media.h> #include <net/netisr.h>
