fix building with musl libc

This commit is contained in:
Enno Boland 2017-05-21 10:54:19 +02:00
parent ef59a604d2
commit a578acdea8
2 changed files with 7 additions and 3 deletions

View file

@ -57,6 +57,10 @@
#include <errno.h>
#endif
#ifndef __GLIBC__
#define canonicalize_file_name(p) realpath(p, NULL)
#endif
/****
* #define RSDIR_DEBUG 1
****/