$NetBSD: patch-ak,v 1.2 2004/12/25 02:54:13 wiz Exp $ --- include/types.h.orig 2003-09-28 13:35:29.000000000 +0200 +++ include/types.h @@ -103,7 +103,12 @@ typedef unsigned long u32; #undef u64 /* maybe there is a macro with this name */ #if SIZEOF_UINT64_T == 8 typedef uint64_t u64; +#ifdef UINT64_C #define U64_C(c) (UINT64_C(c)) +#else + /* make a best guess, could happen with UNIX98 */ +#define U64_C(c) (c) +#endif #define HAVE_U64_TYPEDEF #elif SIZEOF_UNSIGNED_INT == 8 typedef unsigned int u64;