Created attachment 2459 [details] Patch which makes monitor_fdpass.c include <sys/poll.h> monitor_fdpass.c fails to compile on QNX 6.3.2 with the following errors: gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset -I. -I. -I/tmp/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c monitor_fdpass.c monitor_fdpass.c: In function `mm_send_fd': monitor_fdpass.c:61: storage size of `pfd' isn't known monitor_fdpass.c:70: warning: comparison between signed and unsigned monitor_fdpass.c:83: `POLLOUT' undeclared (first use in this function) monitor_fdpass.c:83: (Each undeclared identifier is reported only once monitor_fdpass.c:83: for each function it appears in.) monitor_fdpass.c:87: warning: implicit declaration of function `poll' monitor_fdpass.c:61: warning: unused variable `pfd' monitor_fdpass.c: In function `mm_receive_fd': monitor_fdpass.c:123: storage size of `pfd' isn't known monitor_fdpass.c:139: `POLLIN' undeclared (first use in this function) monitor_fdpass.c:162: warning: comparison between signed and unsigned monitor_fdpass.c:123: warning: unused variable `pfd' Making monitor_fdpass.c include <sys/poll.h> fixes this problem.
*** This bug has been marked as a duplicate of bug 2237 ***
Close all bugs left open from 6.6 and 6.7 releases.