packages/utils/screen/patches/200-musl-compat.patch
Jo-Philipp Wich e838c7f736 screen: fix musl compatibility
Add missing `os.h` include to `utmp.c` to pull in the required `utmp.h` header.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 20:01:59 +02:00

10 lines
171 B
Diff

--- a/utmp.c
+++ b/utmp.c
@@ -33,6 +33,7 @@
#include "config.h"
#include "screen.h"
#include "extern.h"
+#include "os.h"
#ifdef HAVE_UTEMPTER
#include <utempter.h>