aboutsummaryrefslogtreecommitdiffstats
path: root/support.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-26 17:27:57 +0000
committerKalle Wallin <kaw@linux.se>2004-03-26 17:27:57 +0000
commitc737b402afdbf4eb38109a49c2a0ac2c86462521 (patch)
tree48c9c3ba05a1d00afba10d0043fc7669f2ab0ed3 /support.h
parent1e17a1289f54c440ac552c741e949d66b3e9bfa5 (diff)
downloadmpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.tar.gz
mpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.tar.xz
mpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.zip
Added file langinfo.c, used on systems without nl_langinfo() support.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'support.h')
-rw-r--r--support.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/support.h b/support.h
index 9e1a1b866..fc0e20559 100644
--- a/support.h
+++ b/support.h
@@ -3,6 +3,12 @@
#include <libgen.h>
#endif
+#ifndef HAVE_LANGINFO_CODESET
+#define CODESET ((nl_item) 1)
+typedef int nl_item;
+char *nl_langinfo(nl_item);
+#endif
+
char *concat_path(char *p1, char *p2);
#ifndef HAVE_BASENAME