[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 135830] Compile error in KPrMSPresentationSetup.cpp relating to
From: David Faure <faure () kde ! org>
Date: 2006-10-18 15:19:47
Message-ID: 20061018151947.9573.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=135830
faure kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From faure kde org 2006-10-18 17:19 -------
SVN commit 596812 by dfaure:
Fix compilation on Solaris - thanks to Jens Hatlak for his tests and feedback
BUG: 135830
M +19 -0 KPrView.cpp
--- branches/koffice/1.6/koffice/kpresenter/KPrView.cpp #596811:596812
@ -203,11 +203,30 @
};
#ifdef HAVE_DPMS
+#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include <X11/Xmd.h>
#include <X11/extensions/dpms.h>
#include <fixx11h.h>
+
+extern "C" {
+#ifndef HAVE_DPMSCAPABLE_PROTO
+Bool DPMSCapable( Display * );
#endif
+}
+#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
+extern "C" {
+#endif
+ Bool DPMSQueryExtension(Display *, int *, int *);
+ Status DPMSEnable(Display *);
+ Status DPMSDisable(Display *);
+ Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
+#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
+}
+#endif
+#endif
+
static void enableDPMS(bool enable)
{
#ifdef HAVE_DPMS
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic