blob: 84cdb3b5fbda3d3517eaeac6694b1db8652efd1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.6 2000/05/11 16:37:53 hubertf Exp $
--- xlock/xlock.c.orig Wed Mar 22 17:55:32 2000
+++ xlock/xlock.c Tue May 9 13:35:51 2000
@@ -592,7 +592,9 @@
#ifdef USE_DPMS
#define MIN_DPMS 30 /* 30 second minimum */
#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);
extern int dpmsstandby;
|