2005-11-13 07:42:25 -05:00
|
|
|
$OpenBSD: patch-Manager.C,v 1.4 2005/11/13 12:42:25 naddy Exp $
|
2001-08-22 05:34:17 -04:00
|
|
|
--- Manager.C.orig Mon Apr 23 11:10:42 2001
|
2005-11-13 07:42:25 -05:00
|
|
|
+++ Manager.C Sun Nov 13 13:35:32 2005
|
|
|
|
@@ -921,6 +921,11 @@ extern "C" {
|
2001-08-22 05:34:17 -04:00
|
|
|
extern int putenv(char *); /* not POSIX */
|
|
|
|
}
|
2005-11-13 07:42:25 -05:00
|
|
|
#endif
|
|
|
|
+#ifdef __OpenBSD__
|
|
|
|
+extern "C" {
|
|
|
|
+extern int putenv(const char *);
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
void WindowManager::spawn(char *name, char *file)
|
|
|
|
{
|
|
|
|
@@ -1069,6 +1074,11 @@ void WindowManager::gnomeUpdateWindowLis
|
2001-08-22 05:34:17 -04:00
|
|
|
|
|
|
|
delete windows;
|
|
|
|
}
|
|
|
|
+#ifdef __OpenBSD__
|
|
|
|
+extern "C" {
|
|
|
|
+ int snprintf(char *, size_t, const char *, ...);
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
void WindowManager::gnomeUpdateChannelList()
|
2002-09-30 10:31:50 -04:00
|
|
|
{
|