--- a/dist/libmpdclient/include/config.h
+++ b/dist/libmpdclient/include/config.h
@@ -9,7 +9,7 @@
 
 #define DEFAULT_PORT 6600
 
-#define DEFAULT_SOCKET "/run/mpd/socket"
+#define DEFAULT_SOCKET "@TERMUX_PREFIX@/var/run/mpd.socket"
 
 #define ENABLE_TCP
 
