routing: fix debug headers added in 6fa8ed43ee #2.

Move debug declaration out of COMPAT_FREEBSD32 in rtsock.c

MFC after: 2 weeks
This commit is contained in:
Alexander V. Chernikov 2022-06-26 07:26:53 +00:00
parent da33f6d76b
commit 33a0803f00

View File

@ -79,13 +79,12 @@
#define DEBUG_MOD_NAME rtsock
#define DEBUG_MAX_LEVEL LOG_DEBUG
#include <net/route/route_debug.h>
_DECLARE_DEBUG(LOG_INFO);
#ifdef COMPAT_FREEBSD32
#include <sys/mount.h>
#include <compat/freebsd32/freebsd32.h>
_DECLARE_DEBUG(LOG_INFO);
struct if_msghdr32 {
uint16_t ifm_msglen;
uint8_t ifm_version;