1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Author: gitplcc <pedroluis.castedo@upm.es>
Last-Update: 2022-12-28
Description: Add missing include on non-Linux platforms
.
Originally part of a bigger commit named:
> Fix building in Cygwin (#1794)
Origin: https://github.com/indilib/indi/commit/fa9958ea403e444bc9a50d5722789b0b66b33c28
--- a/libs/indiclient/baseclient.cpp
+++ b/libs/indiclient/baseclient.cpp
@@ -36,6 +36,10 @@
# include <unistd.h>
#endif
+#ifndef __linux__
+# include <fcntl.h>
+#endif
+
namespace INDI
{
|