From a1e455b30e9ed52eddc6d6056bef7fc02b4e251b Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 20 Jul 2024 11:14:00 +0200 Subject: irmd: Fix compilation with configfile on FreeBSD AF_INET is defined in on FreeBSD. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/configfile.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/irmd') diff --git a/src/irmd/configfile.c b/src/irmd/configfile.c index 688c4ade..279af80f 100644 --- a/src/irmd/configfile.c +++ b/src/irmd/configfile.c @@ -47,6 +47,9 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#endif #define ERRBUFSZ 200 -- cgit v1.2.3