mirror of
https://github.com/ohwgiles/laminar.git
synced 2025-06-13 12:54:29 +00:00
test FreeBSD port: update eventsource.h code
This commit is contained in:
parent
080cc14493
commit
d6e1026301
@ -24,6 +24,12 @@
|
||||
#include <rapidjson/document.h>
|
||||
#include <vector>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#include <unistd.h>
|
||||
typedef u_long ulong;
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
class EventSource {
|
||||
public:
|
||||
EventSource(kj::AsyncIoContext& ctx, const char* httpConnectAddr, const char* path) :
|
||||
|
Loading…
Reference in New Issue
Block a user