diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-09-17 00:21:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-09-17 00:21:25 +0200 |
commit | 4db17f291c627c885de668200ff8cce2e57c933f (patch) | |
tree | 5cda400014b64ee4c6d30473443693eb13d5773b /src/libudev | |
parent | 54693d9bfa855841e8097d7a6b8c8d7acc068004 (diff) |
build-sys: __secure_getenv lost dunder in libc 2.17
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c index 1a74808411..af36cc4452 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -21,6 +21,7 @@ #include "libudev.h" #include "libudev-private.h" +#include "missing.h" /** * SECTION:libudev @@ -191,7 +192,7 @@ _public_ struct udev *udev_new(void) } /* environment overrides config */ - env = __secure_getenv("UDEV_LOG"); + env = secure_getenv("UDEV_LOG"); if (env != NULL) udev_set_log_priority(udev, util_log_priority(env)); |