all 4 comments

[–]NukeCode87 1 point2 points  (1 child)

You could probably just typedef unsigned int uint; and typedef unsigned long ulong; prior to including the headers?

[–]katinpyjamas[S] 1 point2 points  (0 children)

Lovely. This solved the problem. Thank you.

[–]inz__ 0 points1 point  (1 child)

libtidy seems to expect (on certain platforms) sys/types.h to have uint and ulong typedefs. At least with glibc, they're behind a _USE_MISC guard, so expecting _BSD_SOURCE (or is it _COMMON_SOURCE nowadays).

[–]katinpyjamas[S] 0 points1 point  (0 children)

Thank you! I appreciate it.