summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libc-include-time.h.patch
blob: c646ef80198bc6d10ee4f98ed47dc021cd87960b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: b/usr/src/lib/libc/port/gen/waitpid.c
===================================================================
--- a/usr/src/lib/libc/port/gen/waitpid.c
+++ b/usr/src/lib/libc/port/gen/waitpid.c
@@ -42,6 +42,7 @@
 #include <wait.h>
 #include <sys/types.h>
 #include <sys/siginfo.h>
+#include <time.h>
 #include <sys/times.h>
 #include <sys/resource.h>
 
Index: b/usr/src/lib/libc/port/locale/strftime.c
===================================================================
--- a/usr/src/lib/libc/port/locale/strftime.c
+++ b/usr/src/lib/libc/port/locale/strftime.c
@@ -23,6 +23,7 @@
 #include <sys/stat.h>
 #include <string.h>
 #include <stdio.h>
+#include <time.h>
 #include <locale.h>
 #include "timelocal.h"
 #include "localeimpl.h"