summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/configfile.c3
1 files changed, 3 insertions, 0 deletions
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 <string.h>
#include <toml.h>
#include <arpa/inet.h>
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#endif
#define ERRBUFSZ 200