]> git.notmuchmail.org Git - notmuch/blobdiff - compat/Makefile.local
timegm: add portable implementation (Solaris support)
[notmuch] / compat / Makefile.local
index 2c4f65fc63aa523773fbac9f5523bf87a4c383bf..b0d5417f21780f01a59f11bd65d9784b89831b6d 100644 (file)
@@ -17,4 +17,8 @@ ifneq ($(HAVE_STRSEP),1)
 notmuch_compat_srcs += $(dir)/strsep.c
 endif
 
+ifneq ($(HAVE_TIMEGM),1)
+notmuch_compat_srcs += $(dir)/timegm.c
+endif
+
 SRCS := $(SRCS) $(notmuch_compat_srcs)