diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-05-05 22:45:35 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-05-05 22:45:35 -0400 |
commit | bf8a03e4867a019ab66c34832c3d93108c89c840 (patch) | |
tree | 58ff2b64f93355957686c528ca28a6d554861d50 /lib | |
parent | 70c312779ecad328a8003b93ebe253c4598b6980 (diff) | |
download | cleanpath-bf8a03e4867a019ab66c34832c3d93108c89c840.tar.gz |
Implement header detection
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cleanpath.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cleanpath.c b/lib/cleanpath.c index d7f207d..038e300 100644 --- a/lib/cleanpath.c +++ b/lib/cleanpath.c @@ -3,10 +3,15 @@ #include <limits.h> #include <regex.h> #include "cleanpath.h" +#include "config.h" #if OS_LINUX +#ifdef HAVE_SYS_LIMIT_H +#include <sys/limits.h> +#elif HAVE_LINUX_LIMIT_H #include <linux/limits.h> #endif +#endif /** * Split path into parts by sep |