diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 2dc91aa7..fa183942 100644 --- a/meson.build +++ b/meson.build @@ -87,6 +87,10 @@ else 'stdlib.h', 'void* mem=NULL; posix_memalign(&mem, 8U, 8U);', ], + 'strerror_r': [ + 'string.h', + 'char buf[128]; return strerror_r(0, &buf, sizeof(buf));', + ], } # Define HAVE_SOMETHING symbols for all detected features |