diff options
author | Denis Kozadaev <denis@dilos.org> | 2023-06-01 21:25:31 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-02 11:24:48 +0900 |
commit | 389ed0d3d27fdf181907c54d4ee4b76a25d3587b (patch) | |
tree | 2f4874bb2104975461773f35dda321764fa99683 | |
parent | 27f4b4e178679c4f357fea52d010a1fa7a150dfa (diff) | |
download | tdeedu-389ed0d3d27fdf181907c54d4ee4b76a25d3587b.tar.gz tdeedu-389ed0d3d27fdf181907c54d4ee4b76a25d3587b.zip |
SunOS cosmetic changes
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 610666ca3799e0d1de7abadec108f4683d59d55b)
-rw-r--r-- | ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | config.h.cmake | 3 | ||||
-rw-r--r-- | kstars/kstars/indi/apogee/ApogeeLinux.h | 4 |
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) |