summaryrefslogtreecommitdiff
path: root/logview
diff options
context:
space:
mode:
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>