summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal.h')
-rw-r--r--lib/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/internal.h b/lib/internal.h
index 52d4125..25169ac 100644
--- a/lib/internal.h
+++ b/lib/internal.h
@@ -9,6 +9,10 @@
# define BM_LOG_ATTR(x, y)
#endif
+#ifndef __GLIBC__
+# define secure_getenv getenv
+#endif
+
#ifndef size_t
# include <stddef.h> /* for size_t */
#endif