Browse code

Fix buildbot

Shawn Webb authored on 2014/03/12 00:54:22
Showing 2 changed files
... ...
@@ -34,6 +34,10 @@
34 34
 #include <time.h>
35 35
 #include <signal.h>
36 36
 
37
+#include <openssl/ssl.h>
38
+#include <openssl/err.h>
39
+#include "libclamav/crypto.h"
40
+
37 41
 #include "shared/output.h"
38 42
 #include "shared/misc.h"
39 43
 #include "shared/optparser.h"
... ...
@@ -59,7 +59,7 @@ char * strptime(const char *buf, const char *fmt, struct tm *tm);
59 59
     #define MIN(x,y) ((x)<(y)?(x):(y))
60 60
 #endif
61 61
 
62
-#if !defined(HAVE_TIMEGM)
62
+#if !defined(HAVE_TIMEGM) && !defined(_WIN32)
63 63
 /*
64 64
  * Solaris 10 and earlier don't have timegm. Provide a portable version of it.
65 65
  * This function is from the timegm manpage at http://man7.org/linux/man-pages/man3/timegm.3.html