diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-05-05 22:49:48 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-05-05 22:49:48 -0400 |
commit | 84f355252e33510c96adc94114ff7e63e8059d8b (patch) | |
tree | 2687e760eccc80a12acc6a271c933aa398e3728a /lib | |
parent | bf8a03e4867a019ab66c34832c3d93108c89c840 (diff) | |
download | cleanpath-84f355252e33510c96adc94114ff7e63e8059d8b.tar.gz |
Independent ifdefs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cleanpath.c | 8 |
1 files 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 <sys/limits.h> -#elif HAVE_LINUX_LIMIT_H +#endif // HAVE_SYS_LIMIT_H + +#ifdef HAVE_LINUX_LIMIT_H #include <linux/limits.h> -#endif -#endif +#endif // HAVE_LINUX_LIMIT_H +#endif // OS_LINUX /** * Split path into parts by sep |