openbsd-ports/comms/xlog/patches/patch-src_logfile_cabrillo_c
2012-05-20 19:42:25 +00:00

15 lines
362 B
Plaintext

$OpenBSD: patch-src_logfile_cabrillo_c,v 1.1 2012/05/20 19:42:25 naddy Exp $
Needed for strptime(3).
--- src/logfile/cabrillo.c.orig Sun May 20 13:33:32 2012
+++ src/logfile/cabrillo.c Sun May 20 13:33:56 2012
@@ -30,6 +30,7 @@
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1
#endif
#include <stdlib.h>
#include <string.h>