$NetBSD: patch-aa,v 1.2 2008/04/08 01:44:47 bjs Exp $ --- config/sysdeps/atomicity.h.orig 2006-05-15 13:12:44.000000000 -0400 +++ config/sysdeps/atomicity.h @@ -1,7 +1,11 @@ #ifndef _jack_sysdep_atomicity_h_ #define _jack_sysdep_atomicity_h_ -#if defined(__i386__) +#if defined(HAVE_NETBSD_ATOMIC_OPS) + +#include + +#elif defined(__i386__) #include @@ -15,6 +19,10 @@ #include +#elif defined(__mips__) || defined(__mips64__) + +#include + #else #include