Он определен в /usr/include/stdint.h :
/usr/include/stdint.h
typedef long int intptr_t;
это должен быть тип для целого числа или указателя?