strndup() requires _GNU_SOURCE to compile, not BSD_SOURCE
strndup() requires _GNU_SOURCE to compile, not BSD_SOURCE

ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead