summaryrefslogtreecommitdiff
path: root/system/musl/3001-make-real-lastlog-h.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-24 00:26:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-24 00:26:30 -0500
commit8f427be8c954ca358fb56d82cb9dc9329d024548 (patch)
tree6543ac2444c5472081afcb1205779cf88586a0f5 /system/musl/3001-make-real-lastlog-h.patch
parent947f5a1042a3982caaea3615f91eb4fecad1df6f (diff)
downloadpackages-8f427be8c954ca358fb56d82cb9dc9329d024548.tar.gz
packages-8f427be8c954ca358fb56d82cb9dc9329d024548.tar.bz2
packages-8f427be8c954ca358fb56d82cb9dc9329d024548.tar.xz
packages-8f427be8c954ca358fb56d82cb9dc9329d024548.zip
system/musl: ensure time_t is defined in <lastlog.h>
Diffstat (limited to 'system/musl/3001-make-real-lastlog-h.patch')
-rw-r--r--system/musl/3001-make-real-lastlog-h.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/musl/3001-make-real-lastlog-h.patch b/system/musl/3001-make-real-lastlog-h.patch
index 168ef882b..82fb56995 100644
--- a/system/musl/3001-make-real-lastlog-h.patch
+++ b/system/musl/3001-make-real-lastlog-h.patch
@@ -5,11 +5,13 @@ This implements just the lastlog stuff from musl <utmp.h>.
--- musl-1.1.19/include/lastlog.h 2018-02-22 12:39:19.000000000 -0600
+++ musl-1.1.19/include/lastlog.h 2018-06-15 20:04:54.428854473 -0500
-@@ -1 +1,21 @@
+@@ -1 +1,23 @@
-#include <utmp.h>
+#ifndef _LASTLOG_H
+#define _LASTLOG_H
+
++#include <sys/types.h>
++
+#ifdef __cplusplus
+extern "C" {
+#endif