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
This commit is contained in:
parent
540ac4ce56
commit
9986ed38e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526940
10
math/mathmod/files/patch-fparser_fparser.cc
Normal file
10
math/mathmod/files/patch-fparser_fparser.cc
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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"
|
Loading…
Reference in New Issue
Block a user