cURL fails to build on QNX 6 because
* strequal.c fails to compile because strcasecmp is not declared. strcasecmp is declared in strings.h, but strequal.c doesn't include it.
* setmode is called but is not defined because main.c assumes that it's present if O_BINARY is defined.
The attached patch fixes these issues.