From 9c19b270ead379003ece51fb49b83e7ea8b2d25e Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 26 Apr 2015 18:31:14 +0100 Subject: Invert default for iconv() 2nd arg type, to match SUSv3. Bug 1161 Probably most of the lesser-used builds are already broken; this won't fix them --- src/OS/os.h-NetBSD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/OS/os.h-NetBSD') diff --git a/src/OS/os.h-NetBSD b/src/OS/os.h-NetBSD index 19a8ac0c7..d2d3e0d82 100644 --- a/src/OS/os.h-NetBSD +++ b/src/OS/os.h-NetBSD @@ -22,4 +22,7 @@ typedef struct flock flock_t; #define HAVE_SYS_STATVFS_H #endif +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + /* End */ -- cgit v1.2.3