diff options
author | Michele Calgaro <[email protected]> | 2025-01-31 12:18:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-01 17:09:10 +0900 |
commit | 84bc8776ffd3b63369c442b8f3c2ddeb64d84ea0 (patch) | |
tree | 65986556a5a918362f278e014dad5dd1956f518d | |
parent | 115114134f9650c003045750abef06d0fb735797 (diff) | |
download | tdegraphics-84bc8776ffd3b63369c442b8f3c2ddeb64d84ea0.tar.gz tdegraphics-84bc8776ffd3b63369c442b8f3c2ddeb64d84ea0.zip |
Fix building with gcc 15. This resolves issue #112
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 169841a34676151ac67711c7d05c6343fdf50697)
-rw-r--r-- | kdvi/squeeze.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdvi/squeeze.c b/kdvi/squeeze.c index d0e2515f..90268241 100644 --- a/kdvi/squeeze.c +++ b/kdvi/squeeze.c @@ -35,7 +35,9 @@ * as a constant string. */ #include <stdio.h> +#include <stdlib.h> #include <string.h> + #define LINELENGTH (72) #define BUFLENGTH (1000) #undef putchar @@ -107,7 +109,6 @@ int main(int argc, char *argv[]) int c ; char *b ; char seeking ; - extern void exit() ; if (argc > 3 || (in=(argc < 2 ? stdin : fopen(argv[1], "r")))==NULL || (out=(argc < 3 ? stdout : fopen(argv[2], "w")))==NULL) { |