diff --git a/test/eventsource.h b/test/eventsource.h index c124381..c92529b 100644 --- a/test/eventsource.h +++ b/test/eventsource.h @@ -24,6 +24,12 @@ #include #include +#if defined(__FreeBSD__) +#include +typedef u_long ulong; +using namespace std; +#endif + class EventSource { public: EventSource(kj::AsyncIoContext& ctx, const char* httpConnectAddr, const char* path) :