summaryrefslogtreecommitdiff
path: root/src/util/WStringCompare.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-15 17:57:20 +0200
committerMax Kellermann <max@musicpd.org>2019-08-15 17:57:20 +0200
commitf909615b14379da2c281d8c3727ca302793a59b5 (patch)
treeb094fb4684f859172cf71a87d4bb3b18c8910965 /src/util/WStringCompare.cxx
parent92c89f0c86b27d2e48f753a68d63ef3c1aad6105 (diff)
include cleanups (powered by iwyu)
Diffstat (limited to 'src/util/WStringCompare.cxx')
-rw-r--r--src/util/WStringCompare.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/WStringCompare.cxx b/src/util/WStringCompare.cxx
index b255f8e64..ea67f3d2d 100644
--- a/src/util/WStringCompare.cxx
+++ b/src/util/WStringCompare.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2018 Max Kellermann <max.kellermann@gmail.com>
+ * Copyright 2013-2019 Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -29,6 +29,8 @@
#include "WStringCompare.hxx"
+#include <string.h>
+
bool
StringEndsWith(const wchar_t *haystack, const wchar_t *needle) noexcept
{