diff options
author | Denis Kozadaev <[email protected]> | 2023-05-29 20:46:56 +0300 |
---|---|---|
committer | Denis Kozadaev <[email protected]> | 2023-05-29 20:46:56 +0300 |
commit | 85e7328d525bb152b14aa63aa21168c5c4f742d8 (patch) | |
tree | d09faad4438a7a55b3c5be088364c9c11bda6980 | |
parent | 1b96a3f7381d23258166972f3019873bfb3980c2 (diff) | |
download | tdenetwork-85e7328d525bb152b14aa63aa21168c5c4f742d8.tar.gz tdenetwork-85e7328d525bb152b14aa63aa21168c5c4f742d8.zip |
SunOS cosmetic changes
Signed-off-by: Denis Kozadaev <[email protected]>
-rw-r--r-- | kopete/protocols/jabber/jingle/libjingle/talk/base/network.cpp | 3 | ||||
-rw-r--r-- | kppp/kpppconfig.h | 6 | ||||
-rw-r--r-- | krfb/krfb/rfbcontroller.cpp | 2 | ||||
-rw-r--r-- | ktalkd/ktalkd/find_user.cpp | 4 |
4 files changed, 9 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/base/network.cpp b/kopete/protocols/jabber/jingle/libjingle/talk/base/network.cpp index 21b3a08f..1b3a281e 100644 --- a/kopete/protocols/jabber/jingle/libjingle/talk/base/network.cpp +++ b/kopete/protocols/jabber/jingle/libjingle/talk/base/network.cpp @@ -45,6 +45,9 @@ extern "C" { #include <net/if.h> #include <unistd.h> #include <errno.h> +#ifdef Q_OS_SOLARIS +#include <sys/sockio.h> +#endif /* solaris */ } #endif // POSIX diff --git a/kppp/kpppconfig.h b/kppp/kpppconfig.h index 4c1d9320..1fdf43d3 100644 --- a/kppp/kpppconfig.h +++ b/kppp/kpppconfig.h @@ -26,11 +26,11 @@ #ifndef _KPPPCONFIG_H_ #define _KPPPCONFIG_H_ -#if defined(__svr4__) +#ifdef Q_OS_SOLARIS #define STREAMS -#define _XOPEN_SOURCE 1 +#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE_EXTENDED 1 -#define __EXTENSIONS__ +#define __EXTENSIONS__ 1 #endif #include <config.h> diff --git a/krfb/krfb/rfbcontroller.cpp b/krfb/krfb/rfbcontroller.cpp index 2e14837b..fe6aee94 100644 --- a/krfb/krfb/rfbcontroller.cpp +++ b/krfb/krfb/rfbcontroller.cpp @@ -32,7 +32,7 @@ #include <unistd.h> #include <fcntl.h> -#ifdef USE_SOLARIS +#ifdef Q_OS_SOLARIS #include <strings.h> #endif diff --git a/ktalkd/ktalkd/find_user.cpp b/ktalkd/ktalkd/find_user.cpp index 4cca8b22..54e7469d 100644 --- a/ktalkd/ktalkd/find_user.cpp +++ b/ktalkd/ktalkd/find_user.cpp @@ -375,8 +375,8 @@ int find_user(char *name, char *tty, char *disp) { #ifdef USE_UT_HOST if (Options.debug_mode) { syslog(LOG_DEBUG, "I wanna this:%s", ttyFound); - syslog(LOG_DEBUG, "ut_host=%s", ubuf.ut_host); - syslog(LOG_DEBUG, "%s", ubuf.ut_line); + syslog(LOG_DEBUG, "ut_host=%s", ubuf->ut_host); + syslog(LOG_DEBUG, "%s", ubuf->ut_line); } #endif break; |