From 54386e55c855a0b7063f9c9672baa13a12a1514e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 11 Oct 2020 20:23:45 +0200 Subject: Some linux stuff --- src/b_alias.c | 2 +- src/b_cd.c | 6 +++++- src/b_type.c | 6 +++++- src/e_externs.c | 6 +++++- src/e_pipes.c | 6 +++++- src/e_unshebanged.c | 6 +++++- src/m_init.c | 6 +++++- src/s_struct.h | 6 +++++- 8 files changed, 36 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/b_alias.c b/src/b_alias.c index aab0458..efed4b5 100644 --- a/src/b_alias.c +++ b/src/b_alias.c @@ -14,7 +14,7 @@ #include #include #include -#ifndef linux +#ifdef linux # include #else # include diff --git a/src/b_cd.c b/src/b_cd.c index 410829a..a7a4838 100644 --- a/src/b_cd.c +++ b/src/b_cd.c @@ -13,7 +13,11 @@ #include #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include "b_export_next.h" #include "d_define.h" diff --git a/src/b_type.c b/src/b_type.c index 6a75f13..622ca52 100644 --- a/src/b_type.c +++ b/src/b_type.c @@ -15,7 +15,11 @@ #include #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include "d_define.h" #include "f_fail.h" diff --git a/src/e_externs.c b/src/e_externs.c index 7b25516..8555cad 100644 --- a/src/e_externs.c +++ b/src/e_externs.c @@ -17,7 +17,11 @@ #include #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include #include "b_export_next.h" diff --git a/src/e_pipes.c b/src/e_pipes.c index 0177870..312fa87 100644 --- a/src/e_pipes.c +++ b/src/e_pipes.c @@ -14,7 +14,11 @@ #include #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include #include "e_builtins.h" diff --git a/src/e_unshebanged.c b/src/e_unshebanged.c index 3fd8fac..f88e19c 100644 --- a/src/e_unshebanged.c +++ b/src/e_unshebanged.c @@ -13,7 +13,11 @@ #include #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include #include "f_fail.h" diff --git a/src/m_init.c b/src/m_init.c index 5dc5344..64f9096 100644 --- a/src/m_init.c +++ b/src/m_init.c @@ -12,7 +12,11 @@ #include #include -#include +#ifdef linux +# include +#else +# include +#endif #include "d_define.h" #include "s_struct.h" diff --git a/src/s_struct.h b/src/s_struct.h index c4ffffe..58aa155 100644 --- a/src/s_struct.h +++ b/src/s_struct.h @@ -15,7 +15,11 @@ # include # include -# include +# ifdef linux +# include +# else +# include +# endif # include "d_define.h" -- cgit v1.2.3