$NetBSD: patch-ad,v 1.2 2004/03/12 06:07:12 minskim Exp $ --- support.h.orig 2004-01-12 03:07:02.000000000 -0600 +++ support.h @@ -28,7 +28,7 @@ extern int ischannel(const char *string) 0, effectively shortening the string's length by one. */ extern char *chop(char *); -#ifndef HAVE_HTONS +#if !defined(HAVE_HTONS) && !defined(htons) /* This function switches around the two bytes in the integer */ extern unsigned short htons(unsigned short n); #endif