summaryrefslogtreecommitdiff
path: root/src/hier.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 23:09:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 23:09:39 +0200
commita42c2a846d854d5b1ad42e27ee7091c72d2b5080 (patch)
tree2278f8fca96c02a0c7f97a40fb85f9e8a4b2deeb /src/hier.c
parente6e9663d40f7aab9e1982dddcaa11386551ad182 (diff)
convert to the meson build system
Diffstat (limited to 'src/hier.c')
-rw-r--r--src/hier.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/hier.c b/src/hier.c
index 9be2f25..29e7176 100644
--- a/src/hier.c
+++ b/src/hier.c
@@ -3,12 +3,17 @@
#include "fifo.h"
#include "fmt.h"
-#include "auto_qmail.h"
-#include "auto_split.h"
-#include "auto_uids.h"
#include "ipalloc.h"
#include "tcpto.h"
+#ifdef USE_CONFIG
+ #include "fehsqm-config.h"
+#else
+ #include "auto_qmail.h"
+ #include "auto_split.h"
+ #include "auto_uids.h"
+#endif
+
char buf[100 + FMT_ULONG];
void dsplit(char *base, int uid, int mode) /* base must be under 100 bytes */