*/
#include "webcit.h"
-#include "webserver.h"
+
#ifdef HAVE_USELOCALE
extern locale_t *wc_locales;
* some systems.
*/
tzset();
+#ifdef __FreeBSD__
+ tt.tm_sec = tt.tm_sec - tt.tm_gmtoff;
+#else
tt.tm_sec = tt.tm_sec - (int)timezone;
+#endif
t = mktime(&tt);
return t;
}