From 5765cda4f7243e240b1e8723dc536fb20503d544 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 9 Nov 2016 19:28:32 -0800
Subject: [PATCH 04/19] Use getenv when secure versions are not available

musl doesnt implement secure version, so we default
to it if configure does not detect a secure imeplementation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Denied
---
 src/basic/missing.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/basic/missing.h b/src/basic/missing.h
index 4a3fd9c..4936873 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -529,7 +529,7 @@ struct btrfs_ioctl_quota_ctl_args {
 #  ifdef HAVE___SECURE_GETENV
 #    define secure_getenv __secure_getenv
 #  else
-#    error "neither secure_getenv nor __secure_getenv are available"
+#    define secure_getenv getenv
 #  endif
 #endif
 
-- 
2.10.2

