nixpkgs/pkgs/tools/X11/virtualgl/xshm.patch

14 lines
316 B
Diff
Raw Normal View History

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