Fix compilation on OpenBSD

This commit is contained in:
matt335672 2022-12-15 15:07:40 +00:00
parent bef2e3b1e4
commit cd58d14cef
2 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <sys/select.h>
Display *g_display = 0; Display *g_display = 0;
int g_x_socket = 0; int g_x_socket = 0;

View File

@ -10,4 +10,4 @@ tcp_proxy_SOURCES = \
tcp_proxy_LDADD = \ tcp_proxy_LDADD = \
$(top_builddir)/common/libcommon.la \ $(top_builddir)/common/libcommon.la \
-ldl $(DLOPEN_LIBS)