configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS
authorDaniel Stone <daniel@fooishbar.org>
Wed, 22 May 2013 15:03:19 +0000 (18:03 +0300)
committerJonas Ådahl <jadahl@gmail.com>
Sat, 16 Nov 2013 20:54:06 +0000 (21:54 +0100)
commit0a375ebb38d0b7a029aab1a04e6c7e181cd1a2b8
tree8ca996a9657d5f38c0d39e0d8393e361e50dce2a
parentcb408b3acfa9fffc61d4e15ba1f4f050ab97c8ba
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]
src/udev-seat.c