Florian Krohm 27df6d48bf Followup to r14646. The symbol TIOCSIG is not necessarily defined,
e.g. on s390x with glibc 2.3.4. Modify the testcase to bypass the ioctl
call in that case.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14649
2014-10-22 09:25:03 +00:00

10 lines
99 B
C

#include <sys/ioctl.h>
int main()
{
#ifdef TIOCSIG
ioctl(9, TIOCSIG, 9);
#endif
return 0;
}