weston/shared
Daniel Stone c228e23b05 configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS
AC_USE_SYSTEM_EXTENSIONS enables _XOPEN_SOURCE, _GNU_SOURCE and similar
macros to expose the largest extent of functionality supported by the
underlying system.  This is required since these macros are often
limiting rather than merely additive, e.g. _XOPEN_SOURCE will actually
on some systems hide declarations which are not part of the X/Open spec.

Since this goes into config.h rather than the command line, ensure all
source is consistently including config.h before anything else,
including system libraries.  This doesn't need to be guarded by a
HAVE_CONFIG_H ifdef, which was only ever a hangover from the X.Org
modular transition.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>

[pq: rebased and converted more files]
2013-06-05 01:16:34 -04:00
..
cairo-util.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
cairo-util.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
config-parser-test.c config-parser: Add tests for expect behavuor on NULL configs and sections 2013-05-28 15:34:46 -04:00
config-parser.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
config-parser.h config-parser: Add section iterator API 2013-05-26 20:50:53 -04:00
image-loader.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
image-loader.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
Makefile.am shared: fix build of libshared-cairo 2013-06-04 23:16:49 -04:00
matrix.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
matrix.h sdk: be C++ friendly 2013-03-28 14:03:58 -04:00
option-parser.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
os-compatibility.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
os-compatibility.h compositor: add fallback strchrnul() 2012-06-12 12:29:13 -04:00