[hatari-devel] ikbd.c: missing #include <inttypes.h> |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: "hatari-devel@xxxxxxxxxxxxxxxxxxx" <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: [hatari-devel] ikbd.c: missing #include <inttypes.h>
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Fri, 1 May 2020 20:29:24 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1588357765; bh=MPUOx1neZxV/lIxzY//LfjyAFCOmmmkafQcYGFUKYcI=; h=X-UI-Sender-Class:To:From:Subject:Date; b=Lgnkz/iFbr3e1KtrugdxYKljnyo+fmOuxT8tsz47ovsTkhK3Lsi/j50wAqcHszAP/ 4Pqs74qL/jHq0eCWJquw7J8YT1JgFm0Lk/KCT4N1bgxBm0KW4Dmxp11a6CqmPWaBqH RpQsu1XItlP2BE5WwDbKimdMvr/+BZrwuhe074MU=
Hello,
yet again, I'm trying to compile Hatari from source myself, a
complicated task. Among other things, it failed for me, because ikbd.c
uses the "PRId64" format specifier [1] which is defined in inttypes.h,
but it doesn't include said file. If I add...
#include <inttypes.h>
.... to ikbd.c, it can be compiled.
Regards
Christian
[1] <https://git.tuxfamily.org/hatari/hatari.git/tree/src/ikbd.c#n3166>