summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-07-29 20:00:29 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-07-29 20:00:29 +0200
commit908af8ebe7d9d342af3f11d37918155d25de0b78 (patch)
treee349c73e06dfb23e09c3a876fe8747db3e2a7b2b /tools
parent4cde4e4e28e3455f4c3dbd51dd0e341494688f7a (diff)
downloadi486tcc-linux-908af8ebe7d9d342af3f11d37918155d25de0b78.tar.gz
i486tcc-linux-908af8ebe7d9d342af3f11d37918155d25de0b78.tar.bz2
started to generate fonts X11, still too big (we have to extract the correct charset)
Diffstat (limited to 'tools')
-rw-r--r--tools/rdev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/rdev.c b/tools/rdev.c
index 227239f..edbfa75 100644
--- a/tools/rdev.c
+++ b/tools/rdev.c
@@ -67,6 +67,10 @@ Wed Jun 22 21:12:29 1994: Applied patches from Dave
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef PATH_MAX
+#define PATH_MAX 255
+#endif
+
/* rdev.c - query/set root device. */
static void