$NetBSD: patch-aa,v 1.2 2008/07/31 03:58:05 bjs Exp $ --- config/sysdeps/atomicity.h.orig 2008-07-27 08:50:27.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