openbsd-ports/x11/wmx/patches/patch-Manager_C

17 lines
423 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Manager_C,v 1.1 2010/06/10 21:24:23 jasper Exp $
--- Manager.C.orig Fri Jan 9 12:18:03 2009
+++ Manager.C Thu Jun 10 23:00:31 2010
@@ -61,6 +61,12 @@ Boolean ignoreBadWindowErrors;
implementPList(ClientList, Client);
+#ifdef __OpenBSD__
+extern "C" {
+ int snprintf(char *, size_t, const char *, ...);
+}
+#endif
+
#if CONFIG_GROUPS != False
implementPList(ListList, ClientList);
#endif