dsh: fix path formatting

Change-Id: I7c50a7e71d2f183af5e4393336d32ed330ba00f0
diff --git a/tools/dsh/main.cpp b/tools/dsh/main.cpp
index dd9cf6f..78d9593 100644
--- a/tools/dsh/main.cpp
+++ b/tools/dsh/main.cpp
@@ -23,6 +23,12 @@
 #include <getopt.h>
 
 #include <netinet/in.h>
+#if __has_include(<fmt/std.h>)
+#include <fmt/std.h>
+#else
+#include <fmt/ostream.h>
+#endif
+
 
 struct dhtsh_params
 {