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-OpenBSD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/OS/os.h-OpenBSD') diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD index 9578047af..35eddd5a5 100644 --- a/src/OS/os.h-OpenBSD +++ b/src/OS/os.h-OpenBSD @@ -20,4 +20,7 @@ typedef struct flock flock_t; typedef struct __res_state *res_state; +/* default is non-const */ +#define ICONV_ARG2_TYPE const char ** + /* End */ -- cgit v1.2.3