summaryrefslogtreecommitdiff
path: root/src/libudev/path-util.c
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-11-29 15:37:52 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-12-01 14:06:51 -0500
commit91ce21b2d7978837b233e152ac63863a910eaf21 (patch)
treef9112c2d0fcb591351a3ab9ee6a13cf748f1c5e0 /src/libudev/path-util.c
parentff05ef7ab20ced0f8ae2cd2df313946c3a287bb7 (diff)
Fix glibc-isms with #define _GNU_SOURCE
This is a combination of commits c9485bf12eafad22dbe316ccbf3a9506d4cace66 abd4a3a3bf5851f07cac6665f35c8b92279c4a47 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/path-util.c')
-rw-r--r--src/libudev/path-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/path-util.c b/src/libudev/path-util.c
index 70c8a8af06..de9ec296df 100644
--- a/src/libudev/path-util.c
+++ b/src/libudev/path-util.c
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#define _GNU_SOURCE
+
#include <assert.h>
#include <string.h>
#include <unistd.h>