From d365664c58919edb5e121a7c884384438df79776 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Tue, 11 Jan 2005 11:58:12 +0000 Subject: [PATCH] Fix crash with not matching definitions of PATH_MAX --- hw/xwin/ChangeLog | 5 +++++ hw/xwin/winprefs.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog index db9396ef2..4fd468f89 100644 --- a/hw/xwin/ChangeLog +++ b/hw/xwin/ChangeLog @@ -1,3 +1,8 @@ +2005-01-10 Alexander Gottwald + + * winprefs.h: + Fix crash with not matching definitions of PATH_MAX + 2005-01-10 Alexander Gottwald * winkeybd.h diff --git a/hw/xwin/winprefs.h b/hw/xwin/winprefs.h index eb8867907..6d9cc93c2 100644 --- a/hw/xwin/winprefs.h +++ b/hw/xwin/winprefs.h @@ -33,11 +33,13 @@ /* Need Bool */ #include "Xdefs.h" -/* Need TURE */ +/* Need TRUE */ #include "misc.h" /* Need to know how long paths can be... */ #include +/* Xwindows redefines PATH_MAX to at least 1024 */ +#include #ifndef NAME_MAX #define NAME_MAX PATH_MAX