Fix builds with gcc-14 lstat (#9703 PR #893)

from stat(2)
```
lstat():
    /* glibc 2.19 and earlier */ _BSD_SOURCE
        || /* Since glibc 2.20 */ _DEFAULT_SOURCE
        || _XOPEN_SOURCE >= 500
        || /* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200112L

```
This commit is contained in:
Robin Gareus 2024-05-07 00:17:56 +02:00
parent 4f59b1ddf5
commit 4b8b5acfc4
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ def build(bld):
#obj.uselib = 'GLIB'
obj.vnum = LIBAAF_LIB_VERSION
obj.install_path = bld.env['LIBDIR']
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L' ]
def shutdown():
autowaf.shutdown()