Is FAPI supposed to work without `HAVE_CONFIG_H`?
Akuli opened this issue · 1 comments
Akuli commented
In a project I am working on, #include <config.h>
tends to pick up whatever garbage is already in the include path and cannot be used. So I added a file that #undef
s HAVE_CONFIG_H
.
Turns out that wasn't enough, and I also had to include <ctype.h>
in my new file:
tpm2-tss/src/tss2-fapi/ifapi_keystore.c
Lines 7 to 11 in 74e8294
Are the standard-library includes supposed to be inside the ifdef?
JuergenReppSIT commented
Are the standard-library includes supposed to be inside the ifdef
No I will fix it.