X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_chat.c;h=c59c62d94b1399f14cb30d9ed6960c4ddbb5d166;hb=860ea57fbd4101b7532d84a0d641a3bbe538695f;hp=f45c3f217e875ffc2ee17b7cb41abe4dafdbdd3b;hpb=3bf69f51e36fa978d6c9d70068080d32b5e159b1;p=citadel.git diff --git a/citadel/serv_chat.c b/citadel/serv_chat.c index f45c3f217..c59c62d94 100644 --- a/citadel/serv_chat.c +++ b/citadel/serv_chat.c @@ -14,10 +14,18 @@ #include #include #include -#include -#ifdef TIME_WITH_SYS_TIME -#include + +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif #endif + #include #include #include