aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2016-12-05 02:19:11 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-12-05 13:41:17 +0000
commitedf86c578158bf632533dcdb061a2a59df3356bc (patch)
tree4ba61157b2d4f3e5720e7300d5deac5787253a80
parentPrevent array index out of bounds for tridvalue in feed_table_tag() (diff)
downloadw3m-edf86c578158bf632533dcdb061a2a59df3356bc.tar.gz
w3m-edf86c578158bf632533dcdb061a2a59df3356bc.zip
Explictily include <time.h> to avoid build err
while disable ssl, we will got a undefine time_t err see https://bugs.gentoo.org/show_bug.cgi?id=601498 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to '')
-rw-r--r--html.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.h b/html.h
index c490655..2a9a431 100644
--- a/html.h
+++ b/html.h
@@ -8,6 +8,8 @@
#include <openssl/ssl.h>
#endif /* USE_SSL */
+#include <time.h>
+
#define StrUFgets(f) StrISgets((f)->stream)
#define StrmyUFgets(f) StrmyISgets((f)->stream)
#define UFgetc(f) ISgetc((f)->stream)