Commit d6f4d47b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

solaris build fixes

parent eb07777a
...@@ -14,6 +14,7 @@ build_all:!build_pass { ...@@ -14,6 +14,7 @@ build_all:!build_pass {
unix { unix {
SOURCES += process_stub_unix.c SOURCES += process_stub_unix.c
solaris-.*: LIBS += -lsocket
} else { } else {
SOURCES += process_stub_win.c SOURCES += process_stub_win.c
LIBS += -lshell32 LIBS += -lshell32
......
...@@ -47,6 +47,9 @@ ...@@ -47,6 +47,9 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#ifdef Q_OS_SOLARIS
# include <sys/filio.h> // FIONREAD
#endif
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment