forked from qt-creator/qt-creator
solaris build fixes
This commit is contained in:
@@ -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 @@
|
|||||||
#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>
|
||||||
|
Reference in New Issue
Block a user