Update trivial_signaling_client.cpp

OS X does not know "SOCK_NONBLOCK".
This commit is contained in:
Lennart Haller
2021-04-02 16:55:09 -07:00
committed by Fletcher Dunn
parent ac224b451f
commit 9dffeb46c8
+5
View File
@@ -14,6 +14,11 @@
#include <steam/isteamnetworkingutils.h>
#include <steam/steamnetworkingcustomsignaling.h>
#ifndef SOCK_NONBLOCK
#include <fcntl.h>
# define SOCK_NONBLOCK O_NONBLOCK
#endif
#ifdef POSIX
#include <unistd.h>
#include <sys/socket.h>