remove typedef from struct recptypes
[citadel.git] / citadel / modules / imap / imap_acl.c
index 450d5ebf218864a0abd64a1c2d97edb052134621..97b5f9630a0774f194c36c440bd3c8351a103321 100644 (file)
 #include <pwd.h>
 #include <errno.h>
 #include <sys/types.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-
+#include <time.h>
 #include <sys/wait.h>
 #include <ctype.h>
 #include <string.h>
@@ -220,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) {