openbsd-ports/games/slash-em/patches/patch-sys_unix_unixunix_c
2001-07-04 11:14:53 +00:00

14 lines
495 B
Plaintext

$OpenBSD: patch-sys_unix_unixunix_c,v 1.1.1.1 2001/07/04 11:14:54 espie Exp $
--- sys/unix/unixunix.c.orig Wed May 2 01:07:44 2001
+++ sys/unix/unixunix.c Tue Jul 3 18:56:13 2001
@@ -50,7 +50,9 @@ gethdate(name)
* does not exist on all systems, and moreover, that it sometimes includes
* <sys/types.h> again, so that the compiler sees these typedefs twice.
*/
+#ifndef HAVE_SYS_PARAM_H
#define MAXPATHLEN 1024
+#endif
register const char *np, *path;
char filename[MAXPATHLEN+1];