$OpenBSD: patch-include_cross_h,v 1.2 2006/03/31 13:56:51 jsg Exp $
--- include/cross.h.orig	Thu Feb  9 23:32:47 2006
+++ include/cross.h	Fri Mar 31 21:36:23 2006
@@ -34,10 +34,11 @@
 #else										/* LINUX / GCC */
 #include <dirent.h>
 #include <unistd.h>
+#include <sys/param.h>
 #define LONGTYPE(a) a##LL
 #endif
 
-#define CROSS_LEN 512						/* Maximum filename size */
+#define CROSS_LEN MAXPATHLEN						/* Maximum filename size */
 
 
 #if defined (WIN32) || defined (OS2)				/* Win 32 & OS/2*/
