summaryrefslogtreecommitdiff
path: root/system/musl/3001-make-real-lastlog-h.patch
diff options
context:
space:
mode:
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