summaryrefslogtreecommitdiff
path: root/user/gcompat/no-utmp.patch
blob: c5d2251b19cb1b83fae980962a580accaab0bcc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- gcompat-0.3.0/libgcompat/utmp.c.old	2018-09-05 02:26:02.850000000 +0000
+++ gcompat-0.3.0/libgcompat/utmp.c	2018-09-21 21:39:17.350000000 +0000
@@ -1,12 +1,11 @@
 #include <stddef.h> /* NULL */
-#include <utmp.h>   /* struct utmp */
 
 /**
  * Get user accounting database entries.
  *
  * LSB 5.0: LSB-Core-generic/baselib-getutent-r-3.html
  */
-int getutent_r(struct utmp *buffer, struct utmp **result)
+int getutent_r(void *buffer, void **result)
 {
 	/* musl does not implement getutent(). */
 	*result = NULL;