Commit 486d76b4 authored by Committed by Sebastian Dröge
Fix build on Solaris. Fixes bug #568480.
Fix linking on Solaris by checking for the nsl and socket libraries which are needed for socket() and gethostbyname(). Don't initialize some fields of struct mh to NULL/0, they're already set to NULL/0 by a memset(). Also this fields don't exist on Solaris.
Showing with 4 additions and 4 deletions