Fixes warning ”implicit declaration of function ‘ipatch_init’” mentioned in https://github.com/swami/libinstpatch/issues/65. This warning could be an error in some C99 and later environments.
Using the -include GCC-compatible option to forcibly include the necessary header is a little hacky, but I don’t know a way to add #include "libinstpatch/misc.h" to the source of the temporary generated C program directly.
Fixes warning ”
implicit declaration of function ‘ipatch_init’
” mentioned in https://github.com/swami/libinstpatch/issues/65. This warning could be an error in some C99 and later environments.Using the
-include
GCC-compatible option to forcibly include the necessary header is a little hacky, but I don’t know a way to add#include "libinstpatch/misc.h"
to the source of the temporary generated C program directly.