summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/update/common/updatedefines.h
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/update/common/updatedefines.h')
-rw-r--r--toolkit/mozapps/update/common/updatedefines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/mozapps/update/common/updatedefines.h b/toolkit/mozapps/update/common/updatedefines.h
index 0db182219a..49fbde6f2f 100644
--- a/toolkit/mozapps/update/common/updatedefines.h
+++ b/toolkit/mozapps/update/common/updatedefines.h
@@ -100,6 +100,10 @@ static inline int mywcsprintf(WCHAR* dest, size_t count, const WCHAR* fmt, ...)
#endif
# include <dirent.h>
+#ifdef XP_MACOSX
+# include <sys/time.h>
+#endif
+
# define LOG_S "%s"
# define NS_T(str) str
# define NS_SLASH NS_T('/')