summaryrefslogtreecommitdiff
path: root/x11/xlockmore/patches/patch-ab
blob: c3a9fa459f71eeefdddb5964d11692f8408c8c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.7 2000/08/15 03:54:17 hubertf Exp $

--- xlock/xlock.c.orig	Mon Jul 10 17:46:19 2000
+++ xlock/xlock.c	Tue Aug 15 05:38:20 2000
@@ -597,7 +597,9 @@
 #include <X11/extensions/dpms.h>
 #else /* XFree86 < 4.x */
 #include <X11/extensions/dpms.h>
+#ifndef __NetBSD__
 extern unsigned char DPMSQueryExtension(Display *, int *, int *);
+#endif
 extern int  DPMSGetTimeouts(Display *, unsigned short *, unsigned short *, unsigned short *);
 extern int  DPMSSetTimeouts(Display *, unsigned short, unsigned short, unsigned short);
 #endif