]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm.h: provide basename if GLIBC is not avialable
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 21 May 2024 14:26:33 +0000 (16:26 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 28 May 2024 15:18:54 +0000 (17:18 +0200)
commit9dbd11e091f84eb0bf9d717283774816c4c4453d
tree7997b898c0a9f988b8a036ea6882b6eeb2f0995d
parentc5a4fe7874f94b3f172027043f9a94b037f4d4dd
mdadm.h: provide basename if GLIBC is not avialable

If GNU basename is not avilable, define it. It is safer to use that
rather than include libgen.h with XPG basename() definition.

Fixes:#12

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
mdadm.h