$OpenBSD: patch-include_cross_h,v 1.3 2007/03/15 09:05:21 jsg Exp $
--- include/cross.h.orig	Wed Jan 10 21:17:33 2007
+++ include/cross.h	Mon Mar 12 15:09:52 2007
@@ -38,10 +38,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*/
