mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
replace: Include libgen.h if available
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Dec 1 18:08:54 CET 2016 on sn-devel-144
This commit is contained in:
parent
bde7d74c4a
commit
88586570e8
@ -46,6 +46,10 @@
|
|||||||
#define mkdir(dir, mode) mkdir(dir)
|
#define mkdir(dir, mode) mkdir(dir)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_LIBGEN_H
|
||||||
|
# include <libgen.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Test whether a file name is the "." or ".." directory entries.
|
/* Test whether a file name is the "." or ".." directory entries.
|
||||||
* These really should be inline functions.
|
* These really should be inline functions.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user