aboutsummaryrefslogtreecommitdiff
path: root/libpam
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 /libpam
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 'libpam')
-rw-r--r--libpam/pam_prelude.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpam/pam_prelude.c b/libpam/pam_prelude.c
index 6c73bf5d..c62e2f2c 100644
--- a/libpam/pam_prelude.c
+++ b/libpam/pam_prelude.c
@@ -5,17 +5,17 @@
* (C) Sebastien Tricaud 2005 <toady@gscore.org>
*/
-#include <stdio.h>
-#include <syslog.h>
-
#ifdef PRELUDE
+#include "pam_private.h"
+
+#include <stdio.h>
+#include <syslog.h>
#include <libprelude/prelude.h>
#include <libprelude/prelude-log.h>
#include <libprelude/idmef-message-print.h>
#include "pam_prelude.h"
-#include "pam_private.h"
#define ANALYZER_CLASS "pam"