[cairo-commit] src/cairo-skiplist.c
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Fri May 15 12:37:15 PDT 2009
src/cairo-skiplist.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a352fd46020e18f9d9f839f0c3f3a63c1d8c0ae1
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date: Fri May 15 15:34:05 2009 -0400
Only include <strings.h> for ffs() when we HAVE_FFS
This fixes breakage caused by 3d3d10a31e04498ef91a288d89b3dec291bfc323
diff --git a/src/cairo-skiplist.c b/src/cairo-skiplist.c
index 776e7e7..18d69ca 100644
--- a/src/cairo-skiplist.c
+++ b/src/cairo-skiplist.c
@@ -25,7 +25,9 @@
#include "cairo-skiplist-private.h"
+#if HAVE_FFS
#include <strings.h> /* ffs() */
+#endif
#define ELT_DATA(elt) (void *) ((char*) (elt) - list->data_size)
#define NEXT_TO_ELT(next) (skip_elt_t *) ((char *) (next) - offsetof (skip_elt_t, next))
More information about the cairo-commit
mailing list