use offsetof() instead of self knitted version to please gcc4.
authorclaudio <claudio@openbsd.org>
Wed, 14 Jul 2010 17:06:52 +0000 (17:06 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 14 Jul 2010 17:06:52 +0000 (17:06 +0000)
commita6417e4f7f220ad3f1e66750b805bafb4d6189db
treeaef9fb6ec5fd1949ad60c7afeed041ec7e581398
parentc57b7382c926e506dc6a46223e2875f5851a136d
use offsetof() instead of self knitted version to please gcc4.
stolen from ospf.h
usr.sbin/ospf6d/ospf6.h