---
 common/ring.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/common/ring.h b/common/ring.h
index dcd3fbf..cdfe7e1 100644
--- a/common/ring.h
+++ b/common/ring.h
@@ -21,6 +21,11 @@
 
 #include <stddef.h>
 
+#ifndef ASSERT
+# include <assert.h>
+# define ASSERT(X) assert(X)
+#endif
+
 typedef struct Ring RingItem;
 typedef struct Ring {
     RingItem *prev;
-- 
1.7.3.4

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to