Fix server.c for BSDs, actually.
Fix server.c for BSDs, actually.

nicolasff/webdis,nicolasff/webdis,boothj5/webdis,mrkeng/webdis,boothj5/webdis,mrkeng/webdis,mrkeng/webdis,boothj5/webdis,nicolasff/webdis,cauchycui/webdis,nicolasff/webdis,boothj5/webdis,mrkeng/webdis,nicolasff/webdis,cauchycui/webdis,cauchycui/webdis,cauchycui/webdis