From 60fbdcfdba10a8949a05375d3b8069e9ce10b961 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sat, 2 May 2020 00:54:55 -0400 Subject: [PATCH] Fix build and makefile. --- Makefile | 2 +- dll/steam_networking.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb3f9e6..b851219 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CXX=clang++ CXX_FLAGS += -fPIC -std=c++11 -LD_FLAGS += -shared -lprotobuf-lite -Wl,--no-undefined +LD_FLAGS += -shared -lprotobuf-lite -ldl -Wl,--no-undefined LIBRARY_NAME=libsteam_api.so RM = rm -f diff --git a/dll/steam_networking.h b/dll/steam_networking.h index 816a34c..5d5ff15 100644 --- a/dll/steam_networking.h +++ b/dll/steam_networking.h @@ -16,6 +16,7 @@ . */ #include "base.h" +#include //packet timeout in seconds for non connections #define ORPHANED_PACKET_TIMEOUT (20)