build: only use TIOCGWINSZ ioctl macro if it is defined
build: only use TIOCGWINSZ ioctl macro if it is defined

aeg-aeg/pcpfans,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,aeg-aeg/pcpfans,wuliming/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,aeg-aeg/pcpfans