summaryrefslogtreecommitdiff
path: root/src/OS/os.h-OpenBSD
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-03-17 14:33:46 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-03-17 14:33:46 +0000
commit995e599afd3e6468d3396fb351ed0cd0ea212779 (patch)
tree159ceee53c1dcd922fb26336c517db74a98d31a1 /src/OS/os.h-OpenBSD
parent376fa78ab65917689a9eb5d4bcd44ce6e41feb35 (diff)
Linux and the BSDs have getifaddrs(). Use it and save a bunch of complex coding.
Diffstat (limited to 'src/OS/os.h-OpenBSD')
-rw-r--r--src/OS/os.h-OpenBSD1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index 08f2dcaa5..eaa2f6b1d 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -6,6 +6,7 @@
#define HAVE_BSD_GETLOADAVG
#define HAVE_MMAP
#define HAVE_SYS_MOUNT_H
+#define HAVE_GETIFADDR
#define SIOCGIFCONF_GIVES_ADDR
#define EXIM_HAVE_OPENAT
#define EXIM_HAVE_FUTIMENS