diff options
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch b/meta-networking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch new file mode 100644 index 000000000..a5e634caa --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-telnet/files/0001-utility-Include-time.h-form-time-and-strftime-protot.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 23b068e695881be0e8205ecccadf775fc3d5889d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 6 Sep 2022 21:25:50 -0700 | ||
4 | Subject: [PATCH] utility: Include time.h form time() and strftime() prototypes | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | telnetd/utility.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/telnetd/utility.c b/telnetd/utility.c | ||
14 | index 4811f14..b539777 100644 | ||
15 | --- a/telnetd/utility.c | ||
16 | +++ b/telnetd/utility.c | ||
17 | @@ -40,6 +40,7 @@ char util_rcsid[] = | ||
18 | #define PRINTOPTIONS | ||
19 | |||
20 | #include <stdarg.h> | ||
21 | +#include <time.h> /* for time() anf strftime() */ | ||
22 | #include <sys/utsname.h> | ||
23 | |||
24 | #ifdef AUTHENTICATE | ||
25 | -- | ||
26 | 2.37.3 | ||
27 | |||