summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-03-21 13:08:32 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-03-21 13:08:32 +0000
commit4b38c9d3ad00a7db73c2b323ce7c29e1146ba26e (patch)
treeb1c84451c1a3567912624269c9afae9efd096b6f /src
parent95d6fd2a22e1d2610c8eff0def40ae46edce77d0 (diff)
downloadpamela-4b38c9d3ad00a7db73c2b323ce7c29e1146ba26e.tar.xz
Include posixishard as late as possible
Diffstat (limited to 'src')
-rw-r--r--src/pamela/pamela_op.c2
-rw-r--r--src/pamela/pamelad.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pamela/pamela_op.c b/src/pamela/pamela_op.c
index 4dcecba..1cddfc2 100644
--- a/src/pamela/pamela_op.c
+++ b/src/pamela/pamela_op.c
@@ -4,11 +4,11 @@
#include <stdint.h>
#include <sys/uio.h>
-#include <skalibs/posixishard.h>
#include <skalibs/uint32.h>
#include <skalibs/types.h>
#include <skalibs/stralloc.h>
#include <skalibs/textmessage.h>
+#include <skalibs/posixishard.h>
#include <pamela/pamela.h>
static inline int pamela_fail_delay (pamela_t *a, int r, unsigned int usec)
diff --git a/src/pamela/pamelad.c b/src/pamela/pamelad.c
index 7edb42c..42a08fe 100644
--- a/src/pamela/pamelad.c
+++ b/src/pamela/pamelad.c
@@ -7,7 +7,6 @@
#include <errno.h>
#include <sys/uio.h>
-#include <skalibs/posixishard.h>
#include <skalibs/uint32.h>
#include <skalibs/types.h>
#include <skalibs/bytestr.h>
@@ -16,6 +15,7 @@
#include <skalibs/sig.h>
#include <skalibs/djbunix.h>
#include <skalibs/textmessage.h>
+#include <skalibs/posixishard.h>
#include <pamela/common.h>
#include <security/pam_appl.h>