aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-18 06:57:14 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-18 06:57:14 -0500
commitebfad791508af77f7f8e942c88a6f5dc88bd6d41 (patch)
treec4414ef1e0fccc49c261dd5305dcdfb2feb53efc /src/unalf.h
parent7ec4a5150710643e99f982b5a82f8aeb49302d81 (diff)
downloadunalf-ebfad791508af77f7f8e942c88a6f5dc88bd6d41.tar.gz
Improve alfsum usage a bit.
Diffstat (limited to 'src/unalf.h')
-rw-r--r--src/unalf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unalf.h b/src/unalf.h
index 12654ec..c21944e 100644
--- a/src/unalf.h
+++ b/src/unalf.h
@@ -1,3 +1,12 @@
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <f65.h>
+
#ifndef VERSION
#define VERSION "???"
#warning "VERSION not defined, defaulting to \"???\""
@@ -54,6 +63,10 @@ void fix_filename(void);
/* opts.c */
void parse_opts(int argc, char * const *argv);
+/* self.c */
+extern char *self;
+void set_self(char *argv0);
+
/* unalf.c */
extern char *self;
extern FILE *out_file;