Fix crash with not matching definitions of PATH_MAX
This commit is contained in:
parent
65b893a707
commit
d365664c58
|
@ -1,3 +1,8 @@
|
||||||
|
2005-01-10 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
|
* winprefs.h:
|
||||||
|
Fix crash with not matching definitions of PATH_MAX
|
||||||
|
|
||||||
2005-01-10 Alexander Gottwald <ago at freedesktop dot org>
|
2005-01-10 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
* winkeybd.h
|
* winkeybd.h
|
||||||
|
|
|
@ -33,11 +33,13 @@
|
||||||
|
|
||||||
/* Need Bool */
|
/* Need Bool */
|
||||||
#include "Xdefs.h"
|
#include "Xdefs.h"
|
||||||
/* Need TURE */
|
/* Need TRUE */
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
/* Need to know how long paths can be... */
|
/* Need to know how long paths can be... */
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
/* Xwindows redefines PATH_MAX to at least 1024 */
|
||||||
|
#include <Xwindows.h>
|
||||||
|
|
||||||
#ifndef NAME_MAX
|
#ifndef NAME_MAX
|
||||||
#define NAME_MAX PATH_MAX
|
#define NAME_MAX PATH_MAX
|
||||||
|
|
Loading…
Reference in New Issue