$NetBSD: patch-ac,v 1.1 2003/03/01 11:08:35 jmc Exp $ --- support.cc.orig Sat Mar 1 11:02:55 2003 +++ support.cc Sat Mar 1 11:03:12 2003 @@ -46,7 +46,7 @@ return string; } -#ifndef HAVE_HTONS +#if !defined(HAVE_HTONS) && !defined(htons) unsigned short htons(unsigned short n) { return (n%256)*256+n/256; }