mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
520 B
Plaintext
14 lines
520 B
Plaintext
$NetBSD: patch-ag,v 1.2 2008/08/31 06:36:47 scottr Exp $
|
|
|
|
--- lib/dynxdr/dynxdr.c.orig 2008-08-08 02:01:53.000000000 -0500
|
|
+++ lib/dynxdr/dynxdr.c
|
|
@@ -54,7 +54,7 @@ typedef struct DynXdrData {
|
|
* Mac OS X, FreeBSD and Solaris don't take a const parameter to the
|
|
* "x_getpostn" function.
|
|
*/
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun) | defined(__NetBSD__)
|
|
# define DYNXDR_GETPOS_CONST
|
|
#else
|
|
# define DYNXDR_GETPOS_CONST const
|