]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Clang;common/config.cc basename() requires libgen.h includes 7787/head
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 24 Feb 2016 23:39:27 +0000 (00:39 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 9 May 2016 13:49:56 +0000 (15:49 +0200)
commitc1943878d3345bd8f9bd598541c48376531e2344
treed677f4d84b666ab68f18f2a483af2910faa608ff
parent1c4ccfe3c4be1cd45c285d084c70954cd1f3b3e7
Clang;common/config.cc basename() requires libgen.h includes

But Linux already has it defined in string.h with (const char*) as parameter type.
The including libgen.h confuses matters because the type there is (char*)

So only include libgen.h for FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/config.cc