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 40 41 42 43 44 45 46 47 48 49 50
|
Description: Include header files to fix FTBFS with GCC 14
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
Date: Sat, 6 Jul 2024 20:40:55 +0200
Bug: https://bugs.debian.org/1075175
Forwarded: send to Petr Tomasek <tomasek@etf.cuni.cz>
---
check.c | 2 ++
1 file changed, 2 insertions(+)
Index: libkal/check.c
===================================================================
--- libkal.orig/check.c 2024-07-25 18:55:45.873556653 +0200
+++ libkal/check.c 2024-07-25 18:55:45.869556704 +0200
@@ -24,6 +24,8 @@
#include "kal.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
long jd,jd1;
int d,m,y;
Index: libkal/test.c
===================================================================
--- libkal.orig/test.c 2024-07-05 18:16:52.502291545 +0200
+++ libkal/test.c 2024-07-25 18:59:01.583092799 +0200
@@ -22,6 +22,9 @@
*/
#include "kal.h"
+#include <string.h>
+#include <stdlib.h>
+
const char * dw[]=
{"Sunday","Monday","Tuestday","Wendsday","Thurstday","Friday","Saturday"};
Index: libkal/test1.c
===================================================================
--- libkal.orig/test1.c 2024-07-05 18:16:52.502291545 +0200
+++ libkal/test1.c 2024-07-25 19:18:28.752393430 +0200
@@ -22,6 +22,8 @@
*/
#include "kal.h"
+#include <string.h>
+#include <stdlib.h>
const char * dw[]=
{"Sunday","Monday","Tuestday","Wendsday","Thurstday","Friday","Saturday"};
|