diff --git a/meson.build b/meson.build index a072988..93eb77d 100644 --- a/meson.build +++ b/meson.build @@ -94,7 +94,7 @@ config.set('ENABLE_BUILTIN', enable_builtin) config.set('HAVE_UNISTD_H', cc.check_header('unistd.h')) config.set('HAVE_STDINT_H', cc.check_header('stdint.h')) config.set('HAVE_DIRENT_H', cc.check_header('dirent.h')) -config.set('HAVE_STRNDUP', cc.has_function('strndup')) +config.set('HAVE_STRDUP', cc.has_function('strdup')) config.set('HAVE_CLOCK_GETTIME', cc.has_function('clock_gettime')) config.set('HAVE_FMEMOPEN', cc.has_function('fmemopen')) config.set('HAVE_NL_LANGINFO', cc.has_function('nl_langinfo'))