$NetBSD: patch-ab,v 1.9 2000/08/21 20:31:51 hubertf Exp $

--- xlock/xlock.c.orig	Mon Aug 21 16:14:05 2000
+++ xlock/xlock.c	Mon Aug 21 22:26:06 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
