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:
Marcin Zdunek 2023-08-01 15:00:35 +02:00
parent d8f7b88754
commit c00951c6c2

View File

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