--- mate-utils-1.14.0/logview/src/logview-utils.c.1	2016-09-02 11:03:43.198527152 +0300
+++ mate-utils-1.14.0/logview/src/logview-utils.c	2016-09-02 11:04:09.379561389 +0300
@@ -23,8 +23,10 @@
 #include <config.h>
 #endif
 
+#ifndef __sun__
 #define _XOPEN_SOURCE
 #define _XOPEN_SOURCE_EXTENDED 1 /* strptime is XPG4v2 */
+#endif
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>