freebsd-ports/math/mathmod/files/patch-fparser_fparser.cc
Thierry Thomas 9986ed38e3 Fix build on GCC architectures.
sys/types.h is necessary for uint:
fparser/fparser.cc:3006:55: error: 'uint' was not declared in this scope; did you mean 'rint'?

PR:		244201
Submitted by:	pkubaj
2020-02-23 19:53:45 +00:00

10 lines
238 B
C++

--- fparser/fparser.cc.orig 2020-02-17 14:23:01 UTC
+++ fparser/fparser.cc
@@ -18,6 +18,7 @@
#include <cmath>
#include <cassert>
#include <limits>
+#include <sys/types.h>
#include "extrasrc/fptypes.hh"
#include "extrasrc/fpaux.hh"