X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fcommon.h;h=43bb8bd67e2ea0eb45182b9f25c2a3123c86b830;hb=1faf2ef76c719ed79e13b359591082854e739fa3;hp=5b6be66f17020436684632d78fd775919ff08b91;hpb=8f94dbb551783aad414b57ba6da4596f19dc80a6;p=matches%2FMCTX3420.git diff --git a/server/common.h b/server/common.h index 5b6be66..43bb8bd 100644 --- a/server/common.h +++ b/server/common.h @@ -26,10 +26,14 @@ #include "log.h" #include "fastcgi.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