--- a/src/upmpdutils.hxx
+++ b/src/upmpdutils.hxx
@@ -58,4 +58,6 @@
 diffmaps(const std::unordered_map<std::string, std::string>& old,
          const std::unordered_map<std::string, std::string>& newer);
 
+#define UPMPD_UNUSED(X) (void)(X)
+
 #endif /* _UPMPDUTILS_H_X_INCLUDED_ */