There is an include missing when stdint.h is not available. The attached patch fixes the issue.
Created attachment 50499 [details] [review]
Add missing inclusion of inttypes.h
stdint.h and inttypes.h are both C99 headers. If one is not available, it's likely the other isn't either.
Review of attachment 50499 [details] [review]:
Patch looks sane. I'm guessing you have such a system where one C99 header is present but the other isn't.
Yes, this is the case. The same construct is in dbus-hash.h and dbus-pipe.h, just dbus-sysdeps.h was missing the additional include.
Thanks, fixed in git for 1.4.16, 1.5.8.
(But, seriously? It's 2011 and systems without stdint.h, specified in C99 12 years ago, are still relevant? Please complain to the platform vendor.)
(In reply to comment #5)
> (But, seriously? It's 2011 and systems without stdint.h, specified in C99 12
> years ago, are still relevant? Please complain to the platform vendor.)
Unfortunately, yes. Microsoft, for example, has said they have no plans to add C99 support to Visual Studio.
Please complain to the vendor anyway.