summaryrefslogtreecommitdiff
path: root/games/digger/patches/patch-ad
blob: 7ddee4b922e35465e2c6daf57573c3b40ab6bec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2011/01/08 13:11:13 obache Exp $

* limits.h is more portable for PATH_MAX.

--- def.h.orig	2000-04-13 12:07:32.000000000 +0000
+++ def.h
@@ -138,7 +138,7 @@ typedef unsigned long int Uint5;
 #elif defined UNIX && !defined _VGL
 /* While SDL and other X11 related apps could be runned as ordinary user */
 #ifdef FREEBSD
-#include <sys/syslimits.h>
+#include <limits.h>
 #else /* I donno what is analog of PATH_MAX for Linux :( */
 #define PATH_MAX 1024
 #endif