summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-06-01 21:25:31 +0300
committerDenis Kozadaev <denis@dilos.org>2023-06-01 21:25:31 +0300
commit610666ca3799e0d1de7abadec108f4683d59d55b (patch)
tree2f4874bb2104975461773f35dda321764fa99683
parent27f4b4e178679c4f357fea52d010a1fa7a150dfa (diff)
downloadtdeedu-610666ca3799e0d1de7abadec108f4683d59d55b.tar.gz
tdeedu-610666ca3799e0d1de7abadec108f4683d59d55b.zip
SunOS cosmetic changes
Signed-off-by: Denis Kozadaev <denis@dilos.org>
-rw-r--r--ConfigureChecks.cmake1
-rw-r--r--config.h.cmake3
-rw-r--r--kstars/kstars/indi/apogee/ApogeeLinux.h4
3 files changed, 8 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 0e0d3958..0df464b2 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -123,6 +123,7 @@ endif( BUILD_KIG AND WITH_KIG_PYTHON_SCRIPTING )
##### check for headers
check_include_file( stdint.h HAVE_STDINT_H )
+check_include_file( ieeefp.h HAVE_IEEEFP_H )
##### check for TIMEZONE_IS_INT
diff --git a/config.h.cmake b/config.h.cmake
index 8c61c4b8..0cd328e8 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -36,3 +36,6 @@
// Defined to 1 if timezone is available as a variable
#cmakedefine TIMEZONE_IS_INT 1
+
+// Defined to 1 if you have <ieeefp.h> header file.
+#cmakedefine HAVE_IEEEFP_H 1
diff --git a/kstars/kstars/indi/apogee/ApogeeLinux.h b/kstars/kstars/indi/apogee/ApogeeLinux.h
index d17e7bde..dd181027 100644
--- a/kstars/kstars/indi/apogee/ApogeeLinux.h
+++ b/kstars/kstars/indi/apogee/ApogeeLinux.h
@@ -10,6 +10,10 @@
#ifndef APOGEELINUX_H
#define APOGEELINUX_H
+#ifdef Q_OS_SOLARIS
+#include <sys/ioccom.h>
+#endif /* solaris */
+
#define APISA_READ_USHORT _IOR('a', 0x01, unsigned int)
#define APISA_READ_LINE _IOR('a', 0x02, unsigned int)
#define APISA_WRITE_USHORT _IOW('a', 0x03, unsigned int)