aports/community/user-managerd/0001-Include-linux-quota.h.patch
2021-04-21 15:21:06 +00:00

26 lines
701 B
Diff

From 51aab7a0ef3a07a29369346e8c629ccaa1d9eb20 Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Wed, 21 Apr 2021 16:57:05 +0200
Subject: [PATCH] Include linux/quota.h
Otherwise if_dqblk is considered an incomplete type
---
src/sailfishusermanager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sailfishusermanager.cpp b/src/sailfishusermanager.cpp
index 9c2c0b6..a2ffe69 100644
--- a/src/sailfishusermanager.cpp
+++ b/src/sailfishusermanager.cpp
@@ -26,6 +26,7 @@
#include <qmcecallstate.h>
#include <sailfishaccesscontrol.h>
#include <sys/mount.h>
+#include <linux/quota.h>
#include <sys/quota.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
--
2.31.1