date.c: Change headers/defines t owork within notmuch.