summaryrefslogtreecommitdiff
path: root/src/OS/os.h-OpenBSD
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-26 18:31:14 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-26 18:31:14 +0100
commit9c19b270ead379003ece51fb49b83e7ea8b2d25e (patch)
tree5b53587e2c0e662ebfcec72a9d10867c8d60d83c /src/OS/os.h-OpenBSD
parent627d1a1b61d9c535835221afcbe1b9cd6548cd3b (diff)
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
Diffstat (limited to 'src/OS/os.h-OpenBSD')
-rw-r--r--src/OS/os.h-OpenBSD3
1 files changed, 3 insertions, 0 deletions
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 */