summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-19 13:35:29 -0700
committerCarl Worth <cworth@cworth.org>2009-10-19 13:35:29 -0700
commitfa562fa22b214a7d253e80c62d4f4c97138a6155 (patch)
tree194dadb71ed0bf7faa5926e028e0526b012f6e55 /date.c
parent401c6cc5793331773c0230e8ae00e8c4b0c63a5e (diff)
Hook up our fancy new notmuch_parse_date function.
With all the de-glib-ification out of the way, we can now use it to allow for date-based sorting of Xapian search results.
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/date.c b/date.c
index 3f337c9..c116bbd 100644
--- a/date.c
+++ b/date.c
@@ -27,6 +27,8 @@
#include <time.h>
+#include <glib.h> /* For g_ascii_strncasecmp only. */
+
#ifndef FALSE
#define FALSE 0
#endif