blob: 2b5968ee4bcb27ca107b99d6c25c9c708b0d74ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.4 2018/09/20 21:41:16 ryoon Exp $
--- lib/dynxdr/dynxdr.c.orig 2018-06-23 10:04:02.000000000 +0000
+++ lib/dynxdr/dynxdr.c
@@ -55,7 +55,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) || defined(USE_TIRPC)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(sun) || defined(USE_TIRPC) || defined(__NetBSD__)
# define DYNXDR_GETPOS_CONST
#else
# define DYNXDR_GETPOS_CONST const
|