summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-09-17 00:21:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-09-17 00:21:25 +0200
commit4db17f291c627c885de668200ff8cce2e57c933f (patch)
tree5cda400014b64ee4c6d30473443693eb13d5773b /src/libudev/libudev.c
parent54693d9bfa855841e8097d7a6b8c8d7acc068004 (diff)
build-sys: __secure_getenv lost dunder in libc 2.17
Diffstat (limited to 'src/libudev/libudev.c')
-rw-r--r--src/libudev/libudev.c3
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));