Trying to port OpenVPN v2.0.2 to QNX4

With just a very trivial hacking of ./configure and adding “#include
<sys/select.h>” into some two or three files I was able to have “make
check” succeed with both of it’s tests.

Now I need some way to emulate what LINUX calls “tun” and|or “tup” device.
What comes first to my mind is hacking with “Net.fd” but I’m not sure.

Please comment.