Commit Diff
--- totp.c +++ totp.c @@ -34,7 +34,7 @@ # define __dead __attribute__((noreturn)) #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) # include <sys/endian.h> #elif defined(__APPLE__) # include <machine/endian.h>