summaryrefslogtreecommitdiff
path: root/chat/quirc/patches/patch-ad
blob: 68d5194022ef549e6f979d7d54589d5b9dfb5edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2003/03/01 11:08:35 jmc Exp $

--- support.h.orig	Sat Mar  1 11:01:17 2003
+++ support.h	Sat Mar  1 11:01:44 2003
@@ -15,7 +15,7 @@
    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