mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
16 lines
486 B
Plaintext
16 lines
486 B
Plaintext
$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
|