diff -p -up xserver-xorg-video-psb-0.31.0/libmm/mm_drm.c.assert xserver-xorg-video-psb-0.31.0/libmm/mm_drm.c
--- xserver-xorg-video-psb-0.31.0/libmm/mm_drm.c.assert	2010-04-26 13:40:50.000000000 +0200
+++ xserver-xorg-video-psb-0.31.0/libmm/mm_drm.c	2010-04-26 13:48:28.000000000 +0200
@@ -30,6 +30,7 @@
 #include "xf86mm.h"
 #include "xf86drm.h"
 #include "stdio.h"
+#include <assert.h>
 
 /*
  * This is a simple wrapper around libdrm's buffer interface to be used 
