d2: fix inline building for d2vzw and add a2220 header include

not sure if you want this stuff in your branch, won't hurt, makes inline building actually work