Include <ctype.h> in SWIG code to prevent errors about implicit declaration of function 'isspace' & 'isxdigit'. bz#2245793