summaryrefslogtreecommitdiff
path: root/src/OS/os.h-FreeBSD
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-FreeBSD
parent376fa78ab65917689a9eb5d4bcd44ce6e41feb35 (diff)
Linux and the BSDs have getifaddrs(). Use it and save a bunch of complex coding.
Diffstat (limited to 'src/OS/os.h-FreeBSD')
-rw-r--r--src/OS/os.h-FreeBSD1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/OS/os.h-FreeBSD b/src/OS/os.h-FreeBSD
index 0083642b4..4f1358423 100644
--- a/src/OS/os.h-FreeBSD
+++ b/src/OS/os.h-FreeBSD
@@ -11,6 +11,7 @@
#define HAVE_SETCLASSRESOURCES
#define HAVE_MMAP
#define HAVE_SYS_MOUNT_H
+#define HAVE_GETIFADDR
#define SIOCGIFCONF_GIVES_ADDR
#define HAVE_SRANDOMDEV
#define HAVE_ARC4RANDOM