1
0
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:
Brandon D 2022-05-10 23:13:45 -05:00 committed by GitHub
parent 080cc14493
commit d6e1026301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) :