File: no-implicit-declarations.patch

package info (click to toggle)
3dchess 0.8.1-24
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 548 kB
  • sloc: ansic: 3,035; makefile: 46
file content (18 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix missing declaration of time()
Author: Steve Langasek <steve.langasek@canonical.com>
Bug-Debian: https://bugs.debian.org/1066305
Last-Update: 2024-04-09
Forwarded: no

Index: 3dchess-0.8.1/src/init.c
===================================================================
--- 3dchess-0.8.1.orig/src/init.c
+++ 3dchess-0.8.1/src/init.c
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <malloc.h>
 #include <sys/time.h>
+#include <time.h>
 #include "../include/machine.h"
 #include "../include/3Dc.h"