about summary refs log tree commit diff
path: root/pkgs/tools/X11/virtualgl/xshm.patch
blob: 2ca81b559ea6f5579c58e3b70d49bbd349ba21ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util/fbx.c b/util/fbx.c
index 06ea835..0d89842 100644
--- a/util/fbx.c
+++ b/util/fbx.c
@@ -15,6 +15,8 @@
 // This library abstracts fast frame buffer access
 #include <string.h>
 #include <stdlib.h>
+#include <X11/Xmd.h>
+#include <X11/extensions/shmproto.h>
 #include "fbx.h"
 
 #define MINWIDTH  160