Signed-off-by: Lazaros Koromilas <[email protected]>
---
 src/util/WStringAPI.hxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/WStringAPI.hxx b/src/util/WStringAPI.hxx
index e020ecd..c5aab37 100644
--- a/src/util/WStringAPI.hxx
+++ b/src/util/WStringAPI.hxx
@@ -101,7 +101,8 @@ gcc_nonnull_all
 static inline wchar_t *
 UnsafeCopyStringP(wchar_t *dest, const wchar_t *src)
 {
-#if defined(WIN32) || defined(__BIONIC__)
+#if defined(WIN32) || defined(__BIONIC__) || defined(__OpenBSD__) || \
+       defined(__NetBSD__)
   /* emulate wcpcpy() */
   UnsafeCopyString(dest, src);
   return dest + StringLength(dest);
-- 
2.7.4

_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to