summaryrefslogtreecommitdiffstats
path: root/mutt_socket.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-07-24 11:19:05 -0700
committerKevin McCarthy <kevin@8t8.us>2017-07-24 11:19:05 -0700
commit2e03c998518387d46c645192e7809a0e8a58508c (patch)
tree6e9c77626e8f322c2d7d051518584281d60dcf03 /mutt_socket.c
parent30639b18af83bdf9e7f838ab0ebff90f64f6d2b8 (diff)
Add autoconf search for clock_gettime.
It appears to be specified in POSIX.1-2001, so just abort if it's not found. Add a missing time.h include in mutt_socket.c
Diffstat (limited to 'mutt_socket.c')
-rw-r--r--mutt_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt_socket.c b/mutt_socket.c
index d4b22973..bd585c75 100644
--- a/mutt_socket.c
+++ b/mutt_socket.c
@@ -41,6 +41,7 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
+#include <time.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>