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:
Thierry Thomas 2020-02-23 19:53:45 +00:00
parent 540ac4ce56
commit 9986ed38e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526940

View 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"