From bf8a03e4867a019ab66c34832c3d93108c89c840 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 5 May 2021 22:45:35 -0400 Subject: Implement header detection --- lib/cleanpath.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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 #include #include "cleanpath.h" +#include "config.h" #if OS_LINUX +#ifdef HAVE_SYS_LIMIT_H +#include +#elif HAVE_LINUX_LIMIT_H #include #endif +#endif /** * Split path into parts by sep -- cgit