summaryrefslogtreecommitdiff
path: root/src/OS/os.h-GNU
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-GNU
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-GNU')
-rw-r--r--src/OS/os.h-GNU3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OS/os.h-GNU b/src/OS/os.h-GNU
index cc4da0e3b..44993163d 100644
--- a/src/OS/os.h-GNU
+++ b/src/OS/os.h-GNU
@@ -17,4 +17,7 @@ typedef struct flock flock_t;
/* Hurd-specific bits below */
+/* default is non-const */
+#define ICONV_ARG2_TYPE const char **
+
/* End */