summaryrefslogtreecommitdiff
path: root/logview
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 19:45:39 +0300
committermonsta <[email protected]>2015-09-01 13:10:22 +0300
commitbfc465e1f3106574606061be10ef3839362e1eb1 (patch)
treeac8d518310a386b10b664a83b45cafb7575d67c6 /logview
parent6a29ffe489c727dbd22362bf93afbc0f1ab21d79 (diff)
downloadmate-utils-bfc465e1f3106574606061be10ef3839362e1eb1.tar.bz2
mate-utils-bfc465e1f3106574606061be10ef3839362e1eb1.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')
-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>