X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_acl.c;h=97b5f9630a0774f194c36c440bd3c8351a103321;hb=882ff5a53c3b4e440520a073cf07dc60b2671876;hp=207a32817c1bce11f7cd6dd96dc436ac455ad9bb;hpb=60f03c2407f834ba677dfac9fe545db255ac8263;p=citadel.git diff --git a/citadel/modules/imap/imap_acl.c b/citadel/modules/imap/imap_acl.c index 207a32817..97b5f9630 100644 --- a/citadel/modules/imap/imap_acl.c +++ b/citadel/modules/imap/imap_acl.c @@ -1,8 +1,7 @@ /* * Functions which implement RFC2086 (and maybe RFC4314) (IMAP ACL extension) * - * - * Copyright (c) 2007-2011 by the citadel.org team + * Copyright (c) 2007-2017 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,18 +27,7 @@ #include #include #include - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - +#include #include #include #include @@ -221,7 +209,7 @@ void imap_listrights(int num_parms, ConstStr *Params) { char savedroom[ROOMNAMELEN]; int msgs, new; int ret; - recptypes *valid; + struct recptypes *valid; struct ctdluser temp; if (num_parms != 4) {