diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-02-02 12:25:56 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-02-02 12:25:56 +0200 |
commit | bf5fd83491f8a9d326547388248f30b9fbfd6f72 (patch) | |
tree | 951e6707e65bf4167916d1c9b3366db4789909f4 /lib/internal.h | |
parent | 233c23a214dffdf1891296774a037e94dba7aacf (diff) | |
download | bemenu-bf5fd83491f8a9d326547388248f30b9fbfd6f72.tar.gz bemenu-bf5fd83491f8a9d326547388248f30b9fbfd6f72.tar.bz2 bemenu-bf5fd83491f8a9d326547388248f30b9fbfd6f72.zip |
Fix mac os x build
Diffstat (limited to 'lib/internal.h')
-rw-r--r-- | lib/internal.h | 4 |
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 |