File: implicit_declaration

package info (click to toggle)
coolmail 1.3-15
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: ansic: 1,527; makefile: 69
file content (40 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (2)
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
Description: Fix implicit declaratons

Index: coolmail-1.3/coolmail.c
===================================================================
--- coolmail-1.3.orig/coolmail.c
+++ coolmail-1.3/coolmail.c
@@ -34,6 +34,7 @@
 
 #include "render1.h"
 #include "mailbox.h"
+#include "display_list.h"
 
 #define DEFAULT_MAIL_DIR  "/var/spool/mail/"
 #define DEFAULT_COMMAND   "xterm -n Elm -e mail\0"
Index: coolmail-1.3/render1.c
===================================================================
--- coolmail-1.3.orig/render1.c
+++ coolmail-1.3/render1.c
@@ -15,6 +15,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <assert.h>
+#include <string.h>
 
 #include "render1.h"
 #include "display_list.h"
Index: coolmail-1.3/audio.c
===================================================================
--- coolmail-1.3.orig/audio.c
+++ coolmail-1.3/audio.c
@@ -39,7 +39,8 @@
 #include <pwd.h>				/* for getting username */
 #include <stdlib.h>				/* for getenv() */
 #include <string.h>
-
+#include <unistd.h>
+#include <arpa/inet.h>
 #include <sys/file.h>
 #include <sys/fcntl.h>
 #include <sys/ioctl.h>