openbsd-ports/games/slash/patches/patch-ah
1998-07-29 01:22:23 +00:00

13 lines
402 B
Plaintext

--- sys/unix/unixunix.c.orig Fri Jul 24 19:06:13 1998
+++ sys/unix/unixunix.c Fri Jul 24 19:06:05 1998
@@ -38,7 +38,9 @@
* 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];