audio/vst3sdk: Unbreak on 11 by adding #define _WITH_GETLINE for getline(3) to be visible

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2021-04-17 22:34:52 -07:00
parent 860c5fee08
commit 6e103bcb57

View file

@ -1,11 +1,12 @@
- fix missing include, see https://github.com/steinbergmedia/vst3sdk/issues/80
--- vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp.orig 2021-04-15 16:36:46 UTC
--- vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp.orig 2020-08-20 14:14:27 UTC
+++ vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp
@@ -6,6 +6,8 @@
@@ -6,6 +6,9 @@
#include <unistd.h>
#include <string>
+#define _WITH_GETLINE // this is still required on FreeBSD 11
+#include <stdio.h>
+
//------------------------------------------------------------------------