@@ -0,0 +1,20 @@
+--- gfx/src/x11shared/nsFT2FontCatalog.cpp
++++ gfx/src/x11shared/nsFT2FontCatalog.cpp
+@@ -49,6 +49,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <time.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <dirent.h>
+@@ -92,9 +93,6 @@
+ // Called to get the TrueType font summary from the disk font catalog.
+ //
+
+-// Solaris is missing a prototype for ctime
+-extern "C" {char *ctime(const time_t *timep);}
+-
+ #include <ft2build.h>
+ #include FT_GLYPH_H
+ #include FT_FREETYPE_H
|