diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-08 14:41:25 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-08 14:41:25 -0500 |
| commit | 7c0726a1f59e877c056fa0405bda8d39795b303b (patch) | |
| tree | e153e684ef95bc937b04a8724495fdc3343114fd | |
| parent | 72c272e703fd17841ea2e3bb5f54b0dbd9f0497f (diff) | |
| download | alftools-7c0726a1f59e877c056fa0405bda8d39795b303b.tar.gz | |
alf: Fix build with pcc.
| -rw-r--r-- | src/alf.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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]; |
