summaryrefslogtreecommitdiffstats
path: root/sqwebmail/token.c
diff options
context:
space:
mode:
authorSam Varshavchik2022-05-22 23:52:28 -0400
committerSam Varshavchik2022-05-22 23:52:31 -0400
commit83e37efc8ed785cd095eb585ff747e5702ec49b3 (patch)
tree15aed6da6214e9a03d91be1754cd351175349945 /sqwebmail/token.c
parent1ce81fa6af52651628a0bffcd8b15fdb459901a5 (diff)
downloadcourier-libs-83e37efc8ed785cd095eb585ff747e5702ec49b3.tar.bz2
gcc 12, autotool updates, sqwebmail fixes.
Diffstat (limited to 'sqwebmail/token.c')
-rw-r--r--sqwebmail/token.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/sqwebmail/token.c b/sqwebmail/token.c
index ad8acfb..48c286a 100644
--- a/sqwebmail/token.c
+++ b/sqwebmail/token.c
@@ -16,15 +16,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-#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
+#include <time.h>
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
#endif
void tokennew()
@@ -61,4 +55,3 @@ void tokensave()
{
write_sqconfig(".", TOKENFILE, cgi("msgtoken"));
}
-