From 562258a7663a8d6447c46059743b173e19196e76 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 5 May 2021 23:14:13 -0400 Subject: Create cmake.yml (#1) * Create cmake.yml * Do not include limits.h for fun --- lib/cleanpath.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/cleanpath.c') diff --git a/lib/cleanpath.c b/lib/cleanpath.c index 55d6c22..f94c66d 100644 --- a/lib/cleanpath.c +++ b/lib/cleanpath.c @@ -1,19 +1,20 @@ #include #include -#include #include -#include "cleanpath.h" #include "config.h" +#include "cleanpath.h" #if OS_LINUX -#ifdef HAVE_SYS_LIMIT_H +#if HAVE_SYS_LIMIT_H #include #endif // HAVE_SYS_LIMIT_H -#ifdef HAVE_LINUX_LIMIT_H +#if HAVE_LINUX_LIMIT_H #include #endif // HAVE_LINUX_LIMIT_H -#endif // OS_LINUX +#else +#include +#endif /** * Split path into parts by sep -- cgit