nixpkgs/pkgs/tools/X11/virtualgl/xshm.patch
Lluís Batlle i Rossell a8c5534849 Adding virtualgl (and therefore, libjpeg-turbo, a SIMD API-compatible libjpeg)
svn path=/nixpkgs/trunk/; revision=22553
2010-07-10 08:45:44 +00:00

13 lines
316 B
Diff

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