aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_setquota
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-08-30 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-08-30 08:00:00 +0000
commit5d7eefb1883c557c7a027f68e966e2fae294a9b6 (patch)
treece1d7dbe6e5caf9722622298c7537238dd3c4e62 /modules/pam_setquota
parent8c2bb459417f363bb6a8ad54081ba671d039a8f6 (diff)
downloadpam-5d7eefb1883c557c7a027f68e966e2fae294a9b6.tar.gz
pam-5d7eefb1883c557c7a027f68e966e2fae294a9b6.tar.bz2
pam-5d7eefb1883c557c7a027f68e966e2fae294a9b6.zip
build: consistently include config.h first
Make sure that config.h is included before any system header.
Diffstat (limited to 'modules/pam_setquota')
-rw-r--r--modules/pam_setquota/pam_setquota.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pam_setquota/pam_setquota.c b/modules/pam_setquota/pam_setquota.c
index c15fc669..73445e29 100644
--- a/modules/pam_setquota/pam_setquota.c
+++ b/modules/pam_setquota/pam_setquota.c
@@ -8,6 +8,8 @@
Copyright © 2016 Keller Fuchs <kellerfuchs@hashbang.sh>
*/
+#include "pam_inline.h"
+
#include <sys/types.h>
#include <sys/quota.h>
#include <linux/quota.h>
@@ -22,7 +24,6 @@
#include <security/_pam_macros.h>
#include <security/pam_ext.h>
#include <security/pam_modutil.h>
-#include "pam_inline.h"
#ifndef PATH_LOGIN_DEFS
# define PATH_LOGIN_DEFS "/etc/login.defs"