1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Description: fix missing function declaration
64-bit time_t requires use of -Werror=implicit-function-declaration,
and we have one here - isgraph(). Include the standard header to fix
the build failure.
Author: Steve Langasek <steve.langasek@canonical.com>
Last-Update: 2024-02-28
Forwarded: no
Bug-Debian: https://bugs.debian.org/1065046
--- a/lib/funcs.c
+++ b/lib/funcs.c
@@ -18,6 +18,8 @@
#include <stdlib.h>
#include "funcs.h"
+#include "table.h"
+#include "cards.h"
static void
default_click_cb(int x, int y, int b)
--- a/lib/imagelib.c
+++ b/lib/imagelib.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include "imagelib.h"
#include "table.h"
--- a/lib/make-imglib.c
+++ b/lib/make-imglib.c
@@ -5,6 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
+#include <ctype.h>
#include <png.h>
|