From 84f355252e33510c96adc94114ff7e63e8059d8b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 5 May 2021 22:49:48 -0400 Subject: Independent ifdefs --- lib/cleanpath.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/cleanpath.c b/lib/cleanpath.c index 038e300..55d6c22 100644 --- a/lib/cleanpath.c +++ b/lib/cleanpath.c @@ -8,10 +8,12 @@ #if OS_LINUX #ifdef HAVE_SYS_LIMIT_H #include -#elif HAVE_LINUX_LIMIT_H +#endif // HAVE_SYS_LIMIT_H + +#ifdef HAVE_LINUX_LIMIT_H #include -#endif -#endif +#endif // HAVE_LINUX_LIMIT_H +#endif // OS_LINUX /** * Split path into parts by sep -- cgit