mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
fb77937bd4
Maintainer timeout
23 lines
528 B
Plaintext
23 lines
528 B
Plaintext
Index: src/ipelib/ipeplatform.cpp
|
|
--- src/ipelib/ipeplatform.cpp.orig
|
|
+++ src/ipelib/ipeplatform.cpp
|
|
@@ -49,6 +49,9 @@
|
|
#include <sys/param.h>
|
|
#include <sys/errno.h>
|
|
#endif
|
|
+#ifdef __OpenBSD__
|
|
+#include <errno.h>
|
|
+#endif
|
|
|
|
#ifdef IPE_GSL
|
|
#include <gsl/gsl_errno.h>
|
|
@@ -667,6 +670,8 @@ static double ipestrtod(const char *s, char ** fin)
|
|
return p_strtod_l(s, fin, ipeLocale);
|
|
else
|
|
return strtod(s, fin);
|
|
+#elif defined(__OpenBSD__)
|
|
+ return strtod(s, fin);
|
|
#else
|
|
return strtod_l(s, fin, ipeLocale);
|
|
#endif
|