[issue2165] Header change in if_var.h breaks applications

Francois Tigeot (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Thu Oct 27 03:47:42 PDT 2011

New submission from Francois Tigeot <ftigeot at wolfpond.org>:

Commit 1afbcbacb38bccc3bac01ae24420658b4b8346c7 has added this line:

#if defined(_KERNEL) || defined(_KERNEL_STRUCTURES)

in sys/net/if_var.h to protect the definition of struct ifnet.

Some third-party applications depend on struct ifnet beeing defined without using
_KERNEL or _KERNEL_STRUCTURES. They built fine on DragonFly 2.10 but are now
broken on -master.

net/wminet in pkgsrc can be used as an example.

keyword: pkgsrc
messages: 10240
nosy: ftigeot
priority: bug
status: unread
title: Header change in if_var.h breaks applications

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list