openbsd-ports/comms/xlog/patches/patch-src_callbacks_mainwindow_menu_c

15 lines
364 B
Plaintext
Raw Normal View History

2012-05-20 15:42:25 -04:00
$OpenBSD: patch-src_callbacks_mainwindow_menu_c,v 1.1 2012/05/20 19:42:25 naddy Exp $
Needed for strptime(3).
--- src/callbacks_mainwindow_menu.c.orig Sun May 20 13:32:07 2012
+++ src/callbacks_mainwindow_menu.c Sun May 20 13:33:14 2012
@@ -25,6 +25,7 @@
*/
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1
#include <time.h>
#include <gtk/gtk.h>