summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libc-include-time.h.patch
blob: cf279a17a1b7e5fe1cd6e628344206828c34c8b1 (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: libc/usr/src/lib/libc/port/gen/waitpid.c
===================================================================
--- libc.orig/usr/src/lib/libc/port/gen/waitpid.c
+++ libc/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: libc/usr/src/lib/libc/port/locale/strftime.c
===================================================================
--- libc.orig/usr/src/lib/libc/port/locale/strftime.c
+++ libc/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"