summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-09-01 19:03:05 +0200
committerAlejandro Colomar <alx@kernel.org>2023-10-20 21:05:33 +0200
commitb3652d8a324ddf19bd8b7f765aecaabc49c3c07e (patch)
tree1c65ba29638d37a5f66142f50c07d54c5892efe7
parenta6d795bac5fa0ea1bac8c89925670f6e20fd3c01 (diff)
lib/: Add missing #include <config.h>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--lib/nss.c2
-rw-r--r--lib/run_part.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/nss.c b/lib/nss.c
index aa0666ec..e2aeb0a8 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -1,3 +1,5 @@
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
diff --git a/lib/run_part.c b/lib/run_part.c
index bd24d357..670d8150 100644
--- a/lib/run_part.c
+++ b/lib/run_part.c
@@ -1,3 +1,5 @@
+#include <config.h>
+
#include <dirent.h>
#include <errno.h>
#include <stdio.h>