compilation fixes on freebsd (sorry)
parent
e481d4a284
commit
c3737713e1
|
@ -176,8 +176,9 @@ void recvSession2(Socket&& uns, ComboAddress client)
|
|||
denum = htonl(denum);
|
||||
// cerr<<"Received message "<<denum<< " "<<nmm.localutcseconds()<<" " << nmm.localutcnanoseconds()/1000000000.0<<endl;
|
||||
writeToDisk(nmm.localutcseconds(), nmm.sourceid(), out);
|
||||
|
||||
SSetsockopt(uns, IPPROTO_TCP, TCP_CORK, 1 );
|
||||
#ifdef __linux__
|
||||
SSetsockopt(uns, IPPROTO_TCP, TCP_CORK, 1 );
|
||||
#endif
|
||||
|
||||
SWrite(uns, num);
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <zstd.h>
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
#include "navmon.hh"
|
||||
|
||||
using std::cout;
|
||||
|
|
Loading…
Reference in New Issue