From cd58d14cefcba6eeaa3354d5e63b73a5ee3fc819 Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Thu, 15 Dec 2022 15:07:40 +0000 Subject: [PATCH] Fix compilation on OpenBSD --- sesman/tools/xcon.c | 2 +- tools/devel/tcp_proxy/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sesman/tools/xcon.c b/sesman/tools/xcon.c index 43202448..40d11892 100644 --- a/sesman/tools/xcon.c +++ b/sesman/tools/xcon.c @@ -24,8 +24,8 @@ #include #include #include -#include #include +#include Display *g_display = 0; int g_x_socket = 0; diff --git a/tools/devel/tcp_proxy/Makefile.am b/tools/devel/tcp_proxy/Makefile.am index 2c5c6c5c..6c1e5343 100644 --- a/tools/devel/tcp_proxy/Makefile.am +++ b/tools/devel/tcp_proxy/Makefile.am @@ -10,4 +10,4 @@ tcp_proxy_SOURCES = \ tcp_proxy_LDADD = \ $(top_builddir)/common/libcommon.la \ - -ldl + $(DLOPEN_LIBS)