We're still using snprintf so we need it, otherwise it leads to build
failure.

Signed-off-by: Gustavo Zacarias <[email protected]>
---
 src/thread/Name.hxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/thread/Name.hxx b/src/thread/Name.hxx
index 1576b3f..8d46d33 100644
--- a/src/thread/Name.hxx
+++ b/src/thread/Name.hxx
@@ -26,6 +26,7 @@
 #  include <stdio.h>
 #elif defined(HAVE_PRCTL)
 #  include <sys/prctl.h>
+#  include <stdio.h>
 #  ifdef PR_SET_NAME
 #    define HAVE_THREAD_NAME
 #  endif
-- 
2.0.5

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

Reply via email to