aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alf.c b/src/alf.c
index fe9c342..7945799 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -33,6 +33,12 @@ long hdr_compsize_pos;
FILE *out_file, *in_file;
const char *out_filename, *atari_filename;
+
+/* pcc needs this */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
char in_filename[PATH_MAX + 1];
char hdr_filename[13];