Make mdnsd build on windows

Not sure if it works correctly yet, but it does compile.

Test: Ran a build
Bug: 30482671
(cherry picked from commit 721a7bb1a3102edf8630fe24042dc9160efd17b6)

Change-Id: Ibbf3947bd7edb4ac0211af31e69fe5fc951fe8b5
176 files changed