aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_timestamp
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_timestamp
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_timestamp')
-rw-r--r--modules/pam_timestamp/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_timestamp/sha1.c b/modules/pam_timestamp/sha1.c
index dff454cf..f21b2870 100644
--- a/modules/pam_timestamp/sha1.c
+++ b/modules/pam_timestamp/sha1.c
@@ -37,6 +37,7 @@
*/
/* See http://www.itl.nist.gov/fipspubs/fip180-1.htm for descriptions. */
+#include "pam_inline.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <netinet/in.h>
@@ -47,7 +48,6 @@
#include <endian.h>
#include <unistd.h>
#include "sha1.h"
-#include "pam_inline.h"
static const unsigned char
padding[SHA1_BLOCK_SIZE] = {