X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fcommon.h;h=97290d25dff363c909160cd84986a52f56e810de;hb=2bf6a63a8522235606300357a8b286ed704e68d8;hp=c2edd3d1d16d14237e433af2002c24f76e800409;hpb=a0c96fa8feb1938db84d95b14c320e6c7511c282;p=matches%2FMCTX3420.git diff --git a/server/common.h b/server/common.h index c2edd3d..97290d2 100644 --- a/server/common.h +++ b/server/common.h @@ -26,11 +26,12 @@ #include "log.h" #include "fastcgi.h" -#include "thread.h" +#include "control.h" /**Converts a timeval to a double**/ #define TIMEVAL_TO_DOUBLE(tv) ((tv).tv_sec + 1e-6 * ((tv).tv_usec)) /**Takes the tv1-tv2 between two timevals and returns the result as a double*/ #define TIMEVAL_DIFF(tv1, tv2) ((tv1).tv_sec - (tv2).tv_sec + 1e-6 * ((tv1).tv_usec - (tv2).tv_usec)) + #endif //_COMMON_H