blob: 85e269330cc25004d2564f793c09a80e00aff667 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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
|