summaryrefslogtreecommitdiff
path: root/logview/logview-utils.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 19:45:39 +0300
committerinfirit <[email protected]>2015-08-31 21:57:23 +0200
commit8bb7f35a56d8f448708b08dfd91fbef6ba3603e3 (patch)
treef9e338b19c7ffbd9a175520027bc345d80ccc337 /logview/logview-utils.c
parent9064796891da2a4b83c4ccd53f7f1dc26b930768 (diff)
downloadmate-utils-8bb7f35a56d8f448708b08dfd91fbef6ba3603e3.tar.bz2
mate-utils-8bb7f35a56d8f448708b08dfd91fbef6ba3603e3.tar.xz
logview: define _XOPEN_SOURCE_EXTENDED for OpenBSD
from https://git.gnome.org/browse/gnome-system-log/commit/?id=b75701ce5c87eb125198ebfe124c829167844db1
Diffstat (limited to 'logview/logview-utils.c')
-rw-r--r--logview/logview-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/logview/logview-utils.c b/logview/logview-utils.c
index 2b38dc85..c8a61ed1 100644
--- a/logview/logview-utils.c
+++ b/logview/logview-utils.c
@@ -24,6 +24,7 @@
#endif
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1 /* strptime is XPG4v2 */
#include <time.h>
#include <string.h>
#include <stdlib.h>