summaryrefslogtreecommitdiff
path: root/src/OS/os.h-GNUkFreeBSD
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-GNUkFreeBSD
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-GNUkFreeBSD')
-rw-r--r--src/OS/os.h-GNUkFreeBSD3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OS/os.h-GNUkFreeBSD b/src/OS/os.h-GNUkFreeBSD
index e60690f71..ab3503131 100644
--- a/src/OS/os.h-GNUkFreeBSD
+++ b/src/OS/os.h-GNUkFreeBSD
@@ -19,4 +19,7 @@ typedef struct flock flock_t;
#define HAVE_SYS_MOUNT_H
#define SIOCGIFCONF_GIVES_ADDR
+/* default is non-const */
+#define ICONV_ARG2_TYPE const char **
+
/* End */