mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
14 lines
465 B
Plaintext
14 lines
465 B
Plaintext
$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
|