MOSYNCLIB-12: Ok, more experiments to make that IOCTL stuff build properly
(Actually, I forgot to commit these files...)