solaris build fixes

This commit is contained in:
Oswald Buddenhagen
2009-07-14 10:53:19 +02:00
parent eb07777af6
commit d6f4d47bca
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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>