summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2022-10-06 00:26:11 +0000
committerGuillem Jover <guillem@hadrons.org>2022-10-06 00:26:11 +0000
commit81da58f39d274ab7f822fb22e56b5b2027597a51 (patch)
treee7bd76861ae9a669b8810aa682487c82aec441bb /src
parent96c84e563610d5c7846e601605f675f3d3840dd2 (diff)
Switch from libbsd to libbsd-overlay
This is the preferred usage form for libbsd, as it makes the code more portable and requires no special includes for libbsd, by transparently injects the needed standard headers that would be used on a BSD. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'src')
-rw-r--r--src/iceauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iceauth.c b/src/iceauth.c
index 807e5d7..5a4d400 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -35,8 +35,8 @@ Author: Ralph Mor, X Consortium
#include <time.h>
-#ifdef HAVE_LIBBSD
-#include <bsd/stdlib.h> /* for arc4random_buf() */
+#ifdef HAVE_ARC4RANDOM_BUF
+#include <stdlib.h> /* for arc4random_buf() */
#endif
#include <unistd.h>