summaryrefslogtreecommitdiffstats
path: root/lib/util/charset_compat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/util/charset_compat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/util/charset_compat.h b/lib/util/charset_compat.h
new file mode 100644
index 0000000..cb3b625
--- /dev/null
+++ b/lib/util/charset_compat.h
@@ -0,0 +1,9 @@
+#ifndef _SAMBA_CHARSET_COMPAT_H_
+#define _SAMBA_CHARSET_COMPAT_H_
+
+#include <string.h>
+
+#define strchr_m(h, n) strchr(h, n)
+#define strstr_m(h, n) strstr(h, n)
+
+#endif /* _SAMBA_CHARSET_COMPAT_H_ */