Fix LINUX breakage (define MAXPATHLEN if it wasn't defined the the standard

system headers).
This commit is contained in:
relyea%netscape.com 2003-02-04 23:39:15 +00:00
Родитель a0499c74ef
Коммит d4c0391ff4
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -34,7 +34,7 @@
/* /*
* Test program for SDR (Secret Decoder Ring) functions. * Test program for SDR (Secret Decoder Ring) functions.
* *
* $Id: shlibsign.c,v 1.2 2003/02/04 23:18:07 relyea%netscape.com Exp $ * $Id: shlibsign.c,v 1.3 2003/02/04 23:39:15 relyea%netscape.com Exp $
*/ */
#ifdef XP_UNIX #ifdef XP_UNIX
@ -58,6 +58,10 @@
#include "unistd.h" #include "unistd.h"
#include "sys/types.h" #include "sys/types.h"
#include "sys/stat.h" #include "sys/stat.h"
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
#endif #endif
static void static void