[boilerplate] Cleanup

This commit is contained in:
Behdad Esfahbod 2008-09-02 21:35:18 -04:00
parent af0069c1c4
commit e3d190c92f
2 changed files with 2 additions and 5 deletions

View file

@ -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 \

View file

@ -23,6 +23,8 @@
* Author: Carl D. Worth <cworth@cworth.org>
*/
#define _GNU_SOURCE 1 /* for vasprintf */
#include "cairo-boilerplate.h"
#include "xmalloc.h"