Fix tst_qprinterinfo.cpp not compiling on Vxworks
Neither fork() nor execvp exist on Vxworks so they should not be used Task-number: QTBUG-115777 Change-Id: I6de4e9ec67741466de1b1f4bd89d9c962e539bb8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d8f7b88754
commit
c00951c6c2
@ -8,7 +8,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY)
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS)
|
||||
# include <unistd.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/wait.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user