make[6]: Entering directory `/«PKGBUILDDIR»/src/freebsd'
CC libupshared_la-up-acpi-native.lo
CC libupshared_la-up-backend.lo
In file included from up-backend.c:27:0:
/usr/include/kvm.h:82:1: error: unknown type name 'uint64_t'
uint64_t kvm_counter_u64_fetch(kvm_t *, u_long);
^
up-backend.c:323:1: warning: no previous declaration for 'up_backend_get_used_swap' [-Wmissing-declarations]
up_backend_get_used_swap (UpBackend *backend)
^
make[6]: *** [libupshared_la-up-backend.lo] Error 1
Looks like a missing #include <stdint.h> or something like that, no?