openbsd-ports/games/falconseye/patches/patch-sys_unix_unixunix_c
espie c040d15127 Falcon's Eye is nethack on steroids: graphics and sound.
Preliminary port by Peter Valchev and me. A few details to fix,
such as having SDL sound AND using timidity concurrently...
2001-07-05 13:29:01 +00:00

14 lines
495 B
Plaintext

$OpenBSD: patch-sys_unix_unixunix_c,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
--- sys/unix/unixunix.c.orig Sun Jun 24 18:57:24 2001
+++ sys/unix/unixunix.c Wed Jul 4 11:23:29 2001
@@ -42,7 +42,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];