File: missing_includes.patch

package info (click to toggle)
libauthen-smb-perl 0.91-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 452 kB
  • sloc: ansic: 2,746; perl: 48; makefile: 3
file content (37 lines) | stat: -rw-r--r-- 712 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
Description: Add missing includes
Bug-Debian: #226525, #1065995
Author: Will Lowe <lowe@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2024-03-14

--- a/smbval/smblib.c
+++ b/smbval/smblib.c
@@ -25,6 +25,8 @@
 
 #include "config.h"
 #include <malloc.h>
+#include <string.h>
+#include <ctype.h>
 
 int SMBlib_errno;
 int SMBlib_SMB_Error;
--- a/smbval/session.c
+++ b/smbval/session.c
@@ -25,6 +25,7 @@
 
 #include <malloc.h>
 #include <string.h>
+#include <stdlib.h>
 
 int RFCNB_errno = 0;
 int RFCNB_saved_errno = 0;
--- a/smbval/smblib-util.c
+++ b/smbval/smblib-util.c
@@ -25,6 +25,7 @@
 
 #include "smblib-priv.h"
 #include <malloc.h>
+#include <string.h>
 
 #include "rfcnb.h"