sd-daemon.c: fix a compilation error

A following compilation error was observed:
| libsystemd/sd-daemon.c:64: undefined reference to `strlcpy'

fix it by include the required libite dependency.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
Ming Liu committed 2025-07-08 11:19:38 +02:00
1 parent a73e02afac
commit de4be1557b
3 files changed
+10 -2

No files matched your search

+5
View File
@@ -23,6 +23,11 @@
#include <sys/un.h>
#include <time.h>
#include <unistd.h>
#ifdef _LIBITE_LITE
# include <libite/lite.h>
#else
# include <lite/lite.h>
#endif
#include "sd-daemon.h"