From 277edafba363e3b4da25c158af5f50a5cb3c1420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Wed, 20 Sep 2023 10:57:43 -0400
Subject: [PATCH] dsh: fix path formatting

Change-Id: I7c50a7e71d2f183af5e4393336d32ed330ba00f0
---
 tools/dsh/main.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

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
 {
-- 
GitLab