From 5feaf88b2b40a7d603c7723c65c93ebad38ca913 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 20 Apr 2026 23:39:42 +0200 Subject: [PATCH] Fix xsockrt build integration and missing string declarations --- opt/CMakeLists.txt | 2 +- opt/xsockrt.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/opt/CMakeLists.txt b/opt/CMakeLists.txt index a89fdbc..51dfd00 100644 --- a/opt/CMakeLists.txt +++ b/opt/CMakeLists.txt @@ -68,7 +68,7 @@ install(TARGETS comm DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(TARGETS sendm DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(TARGETS unxcomm DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(TARGETS unxsendm DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) -# install(TARGETS xsockrt DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) +install(TARGETS xsockrt DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(FILES prn DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) install(FILES prn-clr DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR}) diff --git a/opt/xsockrt.c b/opt/xsockrt.c index 0471a79..f2ad4e9 100644 --- a/opt/xsockrt.c +++ b/opt/xsockrt.c @@ -14,6 +14,7 @@ #include #include #include +#include static int usage(char *prog)