usermode/Include-sys-sysmacros.h-manually.patch
2020-01-08 14:31:11 +08:00

25 lines
546 B
Diff

From c5a0bfd174e4a88fcd49fe7a130b37b6779c1a18 Mon Sep 17 00:00:00 2001
From: Jiri Kucera <jkucera@redhat.com>
Date: Aug 07 2018 14:10:07 +0000
Subject: Include <sys/sysmacros.h> manually
Inclusion of <sys/sysmacros.h> from <sys/types.h>
is now deprecated
---
diff --git a/usermount.c b/usermount.c
index 3aafadd..5875c09 100644
--- a/usermount.c
+++ b/usermount.c
@@ -40,6 +40,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <errno.h>
#include <glob.h>
#include <libintl.h>