test FreeBSD port: update eventsource.h code

pull/170/head
Brandon D 2 years ago committed by GitHub
parent 080cc14493
commit d6e1026301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save