summaryrefslogtreecommitdiffstats
path: root/src/m_prompt_seq.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:46:41 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:46:41 +0200
commit39b1f731cafa693b2ba5dea98c18f505c981d01b (patch)
tree5ad7c1182b18ed1cbd8b01a60b2ad9f91e654e5d /src/m_prompt_seq.c
parentCompatibility update (diff)
download42-minishell-39b1f731cafa693b2ba5dea98c18f505c981d01b.tar.gz
42-minishell-39b1f731cafa693b2ba5dea98c18f505c981d01b.tar.bz2
42-minishell-39b1f731cafa693b2ba5dea98c18f505c981d01b.tar.xz
42-minishell-39b1f731cafa693b2ba5dea98c18f505c981d01b.tar.zst
42-minishell-39b1f731cafa693b2ba5dea98c18f505c981d01b.zip
compat
Diffstat (limited to 'src/m_prompt_seq.c')
-rw-r--r--src/m_prompt_seq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/m_prompt_seq.c b/src/m_prompt_seq.c
index 01c0ea4..1f487a5 100644
--- a/src/m_prompt_seq.c
+++ b/src/m_prompt_seq.c
@@ -19,6 +19,8 @@
#include "s_struct.h"
#include "u_vars.h"
+#define _POSIX_C_SOURCE 200112L
+
size_t m_prompt_sequences_again(char var[], size_t i, t_msh *msh)
{
char tmp[PATH_MAX];