mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 06:20:19 +01:00
[boilerplate] Cleanup
This commit is contained in:
parent
af0069c1c4
commit
e3d190c92f
2 changed files with 2 additions and 5 deletions
|
|
@ -87,12 +87,7 @@ libcairoboilerplate_la_SOURCES += cairo-boilerplate-xlib.h
|
|||
libcairoboilerplate_la_SOURCES += cairo-boilerplate-xlib-private.h
|
||||
endif
|
||||
|
||||
# We're using _GNU_SOURCE to get the prototype for asprintf. This may
|
||||
# not be the most portable approach, but it is pragmatic and I'm
|
||||
# willing to do something cleaner as soon as it causes someone a
|
||||
# problem.
|
||||
INCLUDES = \
|
||||
-D_GNU_SOURCE \
|
||||
-I$(srcdir) \
|
||||
-I$(top_srcdir)/pixman/src \
|
||||
-I$(top_builddir)/src \
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
* Author: Carl D. Worth <cworth@cworth.org>
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE 1 /* for vasprintf */
|
||||
|
||||
#include "cairo-boilerplate.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue