Fix build and makefile.

merge-requests/31/head
Mr_Goldberg 2020-05-02 00:54:55 -04:00
parent 91dbf2f9b0
commit 60fbdcfdba
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
CXX=clang++ CXX=clang++
CXX_FLAGS += -fPIC -std=c++11 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 LIBRARY_NAME=libsteam_api.so
RM = rm -f RM = rm -f

View File

@ -16,6 +16,7 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#include "base.h" #include "base.h"
#include <list>
//packet timeout in seconds for non connections //packet timeout in seconds for non connections
#define ORPHANED_PACKET_TIMEOUT (20) #define ORPHANED_PACKET_TIMEOUT (20)