db2mag: compile fix
Merge pull request #727 from timblechmann/topic/db2mag

db2mag: compile fix