diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-11 11:58:12 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-11 11:58:12 +0000 |
commit | d365664c58919edb5e121a7c884384438df79776 (patch) | |
tree | 0c544fc3526ff48d9abc78b090645fd0e1ff7941 /hw | |
parent | 65b893a707ad8b3e4d0971825c05a965dca36d10 (diff) |
Fix crash with not matching definitions of PATH_MAX
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xwin/ChangeLog | 5 | ||||
-rw-r--r-- | hw/xwin/winprefs.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog index db9396ef2..4fd468f89 100644 --- a/hw/xwin/ChangeLog +++ b/hw/xwin/ChangeLog @@ -1,5 +1,10 @@ 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> + * winkeybd.h * winkeynames.h: Adjust keysyms for Hiragana_Katakana toggle and backslash/underscore 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 <limits.h> +/* Xwindows redefines PATH_MAX to at least 1024 */ +#include <Xwindows.h> #ifndef NAME_MAX #define NAME_MAX PATH_MAX |