Author: "logesh.sekar" <logesh.sekar@timesys.com>
Date: Thu, 12 Nov 2026 18:44:46 +0530

---
 tools/risttunnel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/risttunnel.c b/tools/risttunnel.c
index 11971df..b4e832a 100644
--- a/tools/risttunnel.c
+++ b/tools/risttunnel.c
@@ -32,7 +32,7 @@
 #include <stdbool.h>
 #include "getopt-shim.h"
 
-#if defined(__unix) || defined(__APPLE__)
+#if defined(__unix) || defined(__APPLE__) || defined(__linux__) || defined(__UCLIBC__)
 #include <unistd.h>
 #include <poll.h>
 #endif
@@ -556,7 +556,7 @@ int main(int argc, char *argv[])
 
 	/* Wait for signal — librist handles all forwarding internally */
 	while (keep_running) {
-#if defined(__unix) || defined(__APPLE__)
+#if defined(__unix) || defined(__APPLE__) || defined(__linux__) || defined(__UCLIBC__)
 		sleep(1);
 #else
 		Sleep(1000);
-- 
2.34.1

