math/or-tools: Patch missing #include <errno.h> problem

It caused breakage on FreeBSD 12.

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2023-01-07 00:48:31 -08:00
parent 29d9710446
commit f233efc3f3

View File

@ -0,0 +1,13 @@
- workaround for https://github.com/google/or-tools/issues/3622
--- ortools/base/numbers.cc.orig 2023-01-07 08:24:55 UTC
+++ ortools/base/numbers.cc
@@ -23,6 +23,8 @@
#include <memory>
#include <string>
+#include <errno.h>
+
// #include "ortools/base/logging.h"
#include "absl/strings/ascii.h"
#include "ortools/base/strtoint.h"