Where is ptrdiff_t defined in C? If not trivial, how can I make this type visible from GCC on Linux?
ptrdiff_t
It is defined in stddef.h .
stddef.h
This header defines the integral types size_t , ptrdiff_t and wchar_t , the function macro offsetof and the constant macro NULL .
size_t
wchar_t
offsetof
NULL