mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
2eccb23532
libcurv/geom/viewer/fbo.cc, libcurv/geom/viewer/mesh.cc, libcurv/geom/viewer/text.cc and libcurv/geom/viewer/vertexLayout.cc need to include sys/types.h to make uint type known. /wrkdirs/usr/ports/math/curv/work/curv-0.4-127-g3caf3068/libcurv/geom/viewer/fbo.cc:42:26: error: 'uint' does not name a type; did you mean 'int'? PR: 241418 Approved by: linimon (mentor), yuri (maintainer)
11 lines
358 B
C++
11 lines
358 B
C++
--- 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) {
|
|
}
|