X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Flogging.c;h=5ec154cb370cd8ff2b4b540e3b020fccf713788f;hb=860ea57fbd4101b7532d84a0d641a3bbe538695f;hp=af9b5703124ad9d918e514955b655a9091e3dbba;hpb=3bf69f51e36fa978d6c9d70068080d32b5e159b1;p=citadel.git diff --git a/citadel/logging.c b/citadel/logging.c index af9b57031..5ec154cb3 100644 --- a/citadel/logging.c +++ b/citadel/logging.c @@ -11,7 +11,18 @@ #include #include #include -#include + +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + #include #include #include