mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
Fix crash with not matching definitions of PATH_MAX
This commit is contained in:
parent
65b893a707
commit
d365664c58
2 changed files with 8 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
* winkeybd.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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue