I am new to freebsd, just imported
#include <sys/systm.h> errors Not find uintfptr_t Intrmask_t definitions,
Do yall know what else I need to include or change?
#include <sys/systm.h> errors Not find uintfptr_t Intrmask_t definitions,
Do yall know what else I need to include or change?
Code:
n file included from main.c:4:
/usr/include/sys/systm.h:419:39: error: unknown type name 'uintfptr_t'; did you
mean 'uintptr_t'?
void profclock(int cnt, int usermode, uintfptr_t pc);
^
/usr/include/sys/_stdint.h:80:22: note: 'uintptr_t' declared here
typedef uintptr_t uintptr_t;
^
In file included from main.c:4:
/usr/include/sys/systm.h:480:17: error: unknown type name 'intrmask_t'; did you
mean 'intmax_t'?
static inline intrmask_t splbio(void) { return 0; }
^
/usr/include/sys/_stdint.h:84:21: note: 'intmax_t' declared here
typedef intmax_t intmax_t;
In file included from main.c:4:
/usr/include/sys/systm.h:419:39: error: unknown type name 'uintfptr_t'; did you
mean 'uintptr_t'?
void profclock(int cnt, int usermode, uintfptr_t pc);
^
/usr/include/sys/_stdint.h:80:22: note: 'uintptr_t' declared here
typedef uintptr_t uintptr_t;