summaryrefslogtreecommitdiff
path: root/math/curv/files/patch-libcurv_viewer_fbo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/curv/files/patch-libcurv_viewer_fbo.cc')
-rw-r--r--math/curv/files/patch-libcurv_viewer_fbo.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/curv/files/patch-libcurv_viewer_fbo.cc b/math/curv/files/patch-libcurv_viewer_fbo.cc
new file mode 100644
index 000000000000..b29439332695
--- /dev/null
+++ b/math/curv/files/patch-libcurv_viewer_fbo.cc
@@ -0,0 +1,10 @@
+--- libcurv/viewer/fbo.cc.orig 2019-10-22 18:20:49 UTC
++++ libcurv/viewer/fbo.cc
+@@ -25,6 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH D
+
+ #include "fbo.h"
+ #include <iostream>
++#include <sys/types.h>
+
+ Fbo::Fbo():m_id(0), m_old_fbo_id(0), m_texture(0), m_depth_buffer(0), m_width(0), m_height(0), m_allocated(false), m_binded(false) {
+ }