mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
Only include <strings.h> for ffs() when we HAVE_FFS
This fixes breakage caused by 3d3d10a31e
This commit is contained in:
parent
088d2a6cc7
commit
a352fd4602
1 changed files with 2 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue