1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Wed, 29 Oct 2025 21:43:53 +0100
Subject: Fix undeclared strlcat() from libdumbnet
---
arpd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arpd.c b/arpd.c
index 8a33d90..183a269 100644
--- a/arpd.c
+++ b/arpd.c
@@ -28,6 +28,7 @@
#include <event.h>
#include <dumbnet.h>
+extern size_t strlcat(char *dst, const char *restrict src, size_t sz); // we use the symbol from libdumbnet.so but it's not in the header
#include "tree.h"
#define ARPD_MAX_ACTIVE 600
|