$NetBSD: patch-aa,v 1.3 2008/11/16 11:22:55 bjs Exp $ --- config/sysdeps/atomicity.h.orig 2008-11-11 17:36:35.000000000 -0500 +++ 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