--- os_dep.c.orig	Mon Oct  8 10:33:42 2001
+++ os_dep.c	Mon Oct  8 10:35:32 2001
@@ -84,11 +84,16 @@
 #   define NEED_FIND_LIMIT
 # endif
 
+# if defined(FREEBSD) && \
+     (defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64))
+#   define NEED_FIND_LIMIT
+# endif
+
 #ifdef NEED_FIND_LIMIT
 #   include <setjmp.h>
 #endif
 
-#ifdef FREEBSD
+#if defined(FREEBSD) && defined(I386)
 #  include <machine/trap.h>
 #endif
 
