summaryrefslogtreecommitdiff
path: root/x11/xf86-video-intel/patches/patch-src_uxa_intel_h
blob: 268529b9a6f518465ca02868fbbaf9f7d65e0df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$OpenBSD$

Index: src/uxa/intel.h
--- src/uxa/intel.h.orig
+++ src/uxa/intel.h
@@ -252,7 +252,9 @@ typedef struct intel_screen_private {
 
 	int colorKey;
 	XF86VideoAdaptorPtr adaptor;
+#if! HAVE_NOTIFY_FD
 	ScreenBlockHandlerProcPtr BlockHandler;
+#endif
 	Bool overlayOn;
 
 	struct {
@@ -743,7 +745,7 @@ Bool intel_sync_init(ScreenPtr screen);
 void intel_sync_close(ScreenPtr screen);
 #else
 static inline Bool intel_sync_init(ScreenPtr screen) { return 0; }
-void intel_sync_close(ScreenPtr screen);
+static inline void intel_sync_close(ScreenPtr screen) { }
 #endif
 
 /*