(backport) meson: unify linux/stat.h check with other checks and use _GNU_SOURCE
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Jul 2018 15:26:17 +0000 (17:26 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Thu, 26 Mar 2020 15:04:19 +0000 (16:04 +0100)
commitfcb8124c885cb87fb70d6776351939564212d628
tree713932bae1948ac249b75d1775e42ac0193a8a90
parent9fa0c44308b7b07292f0848c22e1e5b3ff37ee85
(backport) meson: unify linux/stat.h check with other checks and use _GNU_SOURCE

Using _GNU_SOURCE is better because that's how we include the headers in the
actual build, and some headers define different stuff when it is defined.
sys/stat.h for example defines 'struct statx' conditionally.

Change-Id: I7cb80dc4339aa05d1a5dbebf483168c7dcce84d9
meson.build
src/basic/missing.h