From: Michael Beer Date: Mon, 5 Sep 2016 18:14:29 +0000 (+0200) Subject: Make some functions which are needed for native VST support like snprintf() visible... X-Git-Tag: 5.5~474 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=8d8ca6a8fa260f75c70a5216698130004ae2df10;p=ardour.git Make some functions which are needed for native VST support like snprintf() visible in FreeBSD. --- diff --git a/libs/fst/wscript b/libs/fst/wscript index 9fe165ca9e..a987235ec0 100644 --- a/libs/fst/wscript +++ b/libs/fst/wscript @@ -88,4 +88,8 @@ def build(bld): 'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"', 'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"', ] + if re.search ("freebsd", sys.platform) != None: + obj.defines.append('_POSIX_C_SOURCE=200809') + obj.defines.append('_XOPEN_SOURCE=700') + obj.install_path = os.path.join(bld.env['LIBDIR'])