summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/xwin/ChangeLog5
-rw-r--r--hw/xwin/winprefs.h4
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